diff --git a/docs/obs/api-ref/ALL_META.TXT.json b/docs/obs/api-ref/ALL_META.TXT.json index d3879bf1..516a71d6 100644 --- a/docs/obs/api-ref/ALL_META.TXT.json +++ b/docs/obs/api-ref/ALL_META.TXT.json @@ -223,7 +223,7 @@ "uri":"obs_04_0022.html", "product_code":"obs", "code":"23", - "des":"This operation lists objects in a bucket. To use this operation, you must have the permission to read the bucket.If you specify only the bucket name in the request URI, f", + "des":"This operation lists objects in a bucket. To use this operation, you must have the permission to read the bucket.If you specify only the bucket name in the request, OBS r", "doc_type":"api", "kw":"Listing Objects in a Bucket,Operations on Buckets,API Reference", "title":"Listing Objects in a Bucket", @@ -493,7 +493,7 @@ "uri":"obs_04_0051.html", "product_code":"obs", "code":"50", - "des":"This operation deletes the tags of a bucket.To perform this operation, you must have the PutBucketTagging permission. By default, only the bucket owner can delete the tag", + "des":"This operation deletes the tags of a bucket.To perform this operation, you must have the DeleteBucketTagging permission. By default, only the bucket owner can delete the ", "doc_type":"api", "kw":"Deleting Tags,Advanced Bucket Settings,API Reference", "title":"Deleting Tags", @@ -513,7 +513,7 @@ "uri":"obs_04_0053.html", "product_code":"obs", "code":"52", - "des":"Only the bucket owner can query information about the bucket storage quota. However, an inactive owner is not allowed to get the bucket quota. The bucket storage quota is", + "des":"A bucket owner can query the bucket storage quota, but a bucket owner who is frozen due to arrears cannot. The bucket storage quota is measured by byte. 0 indicates that ", "doc_type":"api", "kw":"Querying Bucket Storage Quota,Advanced Bucket Settings,API Reference", "title":"Querying Bucket Storage Quota", @@ -590,9 +590,29 @@ "githuburl":"" }, { - "uri":"obs_04_0070.html", + "uri":"obs_04_0068.html", "product_code":"obs", "code":"60", + "des":"The requester-pays configuration allows the requester to pay for data transfer and API calls associated with accessing the requested OBS resources, while the bucket owner", + "doc_type":"api", + "kw":"Configuring the Requester-Pays Function for a Bucket,Advanced Bucket Settings,API Reference", + "title":"Configuring the Requester-Pays Function for a Bucket", + "githuburl":"" + }, + { + "uri":"obs_04_0069.html", + "product_code":"obs", + "code":"61", + "des":"This API obtains the requester-pays configuration information of a bucket.This request contains no message parameters.This request uses common headers. For details, see T", + "doc_type":"api", + "kw":"Obtaining the Requester-Pays Configuration Information of a Bucket,Advanced Bucket Settings,API Refe", + "title":"Obtaining the Requester-Pays Configuration Information of a Bucket", + "githuburl":"" + }, + { + "uri":"obs_04_0070.html", + "product_code":"obs", + "code":"62", "des":"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.", "doc_type":"api", "kw":"Static Website Hosting", @@ -602,7 +622,7 @@ { "uri":"obs_04_0071.html", "product_code":"obs", - "code":"61", + "code":"63", "des":"OBS allows you to store static web page resources such as HTML web pages, flash files, videos, and audios in a bucket. When a client accesses these resources from the web", "doc_type":"api", "kw":"Configuring Static Website Hosting for a Bucket,Static Website Hosting,API Reference", @@ -612,7 +632,7 @@ { "uri":"obs_04_0072.html", "product_code":"obs", - "code":"62", + "code":"64", "des":"You can perform this operation to get the static website hosting configuration of a bucket.To perform this operation, you must have the GetBucketWebsite permission. By de", "doc_type":"api", "kw":"Obtaining the Static Website Hosting Configuration of a Bucket,Static Website Hosting,API Reference", @@ -622,7 +642,7 @@ { "uri":"obs_04_0073.html", "product_code":"obs", - "code":"63", + "code":"65", "des":"You can perform this operation to delete the website configuration of a bucket.To perform this operation, you must have the DeleteBucketWebsite permission. By default, on", "doc_type":"api", "kw":"Deleting the Static Website Hosting Configuration of a Bucket,Static Website Hosting,API Reference", @@ -632,7 +652,7 @@ { "uri":"obs_04_0074.html", "product_code":"obs", - "code":"64", + "code":"66", "des":"Cross-origin resource sharing (CORS) is a standard mechanism proposed by World Wide Web Consortium (W3C) and allows cross-origin requests from clients. For standard web p", "doc_type":"api", "kw":"Configuring Bucket CORS,Static Website Hosting,API Reference", @@ -642,7 +662,7 @@ { "uri":"obs_04_0075.html", "product_code":"obs", - "code":"65", + "code":"67", "des":"You can perform this operation to obtain CORS configuration information about a specified bucket.To perform this operation, you must have the GetBucketCORS permission. By", "doc_type":"api", "kw":"Obtaining the CORS Configuration of a Bucket,Static Website Hosting,API Reference", @@ -652,7 +672,7 @@ { "uri":"obs_04_0076.html", "product_code":"obs", - "code":"66", + "code":"68", "des":"This operation is used to delete the CORS configuration of a bucket. After the CORS configuration is deleted, the bucket and objects in it cannot be accessed by requests ", "doc_type":"api", "kw":"Deleting the CORS Configuration of a Bucket,Static Website Hosting,API Reference", @@ -662,7 +682,7 @@ { "uri":"obs_04_0077.html", "product_code":"obs", - "code":"67", + "code":"69", "des":"OPTIONS refers to pre-requests that are sent to servers by clients. Generally, the requests are used to check whether clients have permissions to perform operations on se", "doc_type":"api", "kw":"OPTIONS Bucket,Static Website Hosting,API Reference", @@ -672,7 +692,7 @@ { "uri":"obs_04_0078.html", "product_code":"obs", - "code":"68", + "code":"70", "des":"For details, see OPTIONS Bucket.With the OPTIONS Object, you need to specify an object name in the URL, but an object name is not required with the OPTIONS Bucket, which ", "doc_type":"api", "kw":"OPTIONS Object,Static Website Hosting,API Reference", @@ -682,7 +702,7 @@ { "uri":"obs_04_0079.html", "product_code":"obs", - "code":"69", + "code":"71", "des":"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.", "doc_type":"api", "kw":"Operations on Objects", @@ -692,8 +712,8 @@ { "uri":"obs_04_0080.html", "product_code":"obs", - "code":"70", - "des":"After bucket creation in OBS, you can use this operation to upload an object to the bucket. Uploading an object adds it to a bucket. This requires users to have the write", + "code":"72", + "des":"After bucket creation in OBS, you can use this operation to upload an object to the bucket. This operation uploads an object to a bucket. To use this operation, you must ", "doc_type":"api", "kw":"Uploading Objects - PUT,Operations on Objects,API Reference", "title":"Uploading Objects - PUT", @@ -702,7 +722,7 @@ { "uri":"obs_04_0081.html", "product_code":"obs", - "code":"71", + "code":"73", "des":"This operation uploads an object to a bucket. To use this operation, you must have the write permission on the bucket.The name of each object in a bucket must be unique.W", "doc_type":"api", "kw":"Uploading Objects - POST,Operations on Objects,API Reference", @@ -712,7 +732,7 @@ { "uri":"obs_04_0082.html", "product_code":"obs", - "code":"72", + "code":"74", "des":"You can perform this operation to create a copy of an existing object in OBS.Users can determine whether to copy the metadata of the source object to the target object (b", "doc_type":"api", "kw":"Copying Objects,Operations on Objects,API Reference", @@ -722,7 +742,7 @@ { "uri":"obs_04_0083.html", "product_code":"obs", - "code":"73", + "code":"75", "des":"This operation downloads objects from OBS. Before using this GET operation, check that you have the read permission for the target object. If the object owner has granted", "doc_type":"api", "kw":"Downloading Objects,Operations on Objects,API Reference", @@ -732,7 +752,7 @@ { "uri":"obs_04_0084.html", "product_code":"obs", - "code":"74", + "code":"76", "des":"Users with the read permission on objects can perform the HeadObject operation to obtain metadata of objects. The object metadata is included in the response.This operati", "doc_type":"api", "kw":"Querying Object Metadata,Operations on Objects,API Reference", @@ -742,7 +762,7 @@ { "uri":"obs_04_0085.html", "product_code":"obs", - "code":"75", + "code":"77", "des":"You can perform this operation to delete an object. If you try to delete an object that does not exist, OBS will return a success message.When versioning is enabled for a", "doc_type":"api", "kw":"Deleting an Object,Operations on Objects,API Reference", @@ -752,7 +772,7 @@ { "uri":"obs_04_0086.html", "product_code":"obs", - "code":"76", + "code":"78", "des":"This operation can be used to batch delete some objects in a bucket. The deletion cannot be undone. After the operation is implemented, the returned information contains ", "doc_type":"api", "kw":"Deleting Objects,Operations on Objects,API Reference", @@ -762,7 +782,7 @@ { "uri":"obs_04_0087.html", "product_code":"obs", - "code":"77", + "code":"79", "des":"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", "doc_type":"api", "kw":"Restoring Cold Objects,Operations on Objects,API Reference", @@ -772,7 +792,7 @@ { "uri":"obs_04_0089.html", "product_code":"obs", - "code":"78", + "code":"80", "des":"OBS supports the control of access permission for objects. By default, only the object creator has the read and write permissions for the object. However, the creator can", "doc_type":"api", "kw":"Configuring an Object ACL,Operations on Objects,API Reference", @@ -782,7 +802,7 @@ { "uri":"obs_04_0090.html", "product_code":"obs", - "code":"79", + "code":"81", "des":"The implementation of this operation returns the ACL configuration of an object. You can perform this operation to view the ACL of an object, as long as you have the read", "doc_type":"api", "kw":"Obtaining Object ACL Configuration,Operations on Objects,API Reference", @@ -792,7 +812,7 @@ { "uri":"obs_04_0091.html", "product_code":"obs", - "code":"80", + "code":"82", "des":"This operation modifies, deletes, or adds metadata to uploaded objects in a bucket.OBS supports the six HTTP request headers: Cache-Control, Expires, Content-Encoding, Co", "doc_type":"api", "kw":"Modifying Object Metadata,Operations on Objects,API Reference", @@ -802,7 +822,7 @@ { "uri":"obs_04_0092.html", "product_code":"obs", - "code":"81", + "code":"83", "des":"This operation can modify an object from a specified position.This API is supported only by parallel file systems. For details about how to create a parallel file system,", "doc_type":"api", "kw":"Modifying an Object,Operations on Objects,API Reference", @@ -812,7 +832,7 @@ { "uri":"obs_04_0093.html", "product_code":"obs", - "code":"82", + "code":"84", "des":"This operation can truncate an object to a specified size.This API is supported only by parallel file systems. For details about how to create a parallel file system, see", "doc_type":"api", "kw":"Truncating an Object,Operations on Objects,API Reference", @@ -822,7 +842,7 @@ { "uri":"obs_04_0094.html", "product_code":"obs", - "code":"83", + "code":"85", "des":"This operation can rename an object.This API is supported only by parallel file systems. For details about how to create a parallel file system, see Sample Request 4. Ren", "doc_type":"api", "kw":"Renaming an Object,Operations on Objects,API Reference", @@ -832,7 +852,7 @@ { "uri":"obs_04_0096.html", "product_code":"obs", - "code":"84", + "code":"86", "des":"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.", "doc_type":"api", "kw":"Operations on Multipart Upload", @@ -842,7 +862,7 @@ { "uri":"obs_04_0097.html", "product_code":"obs", - "code":"85", + "code":"87", "des":"This operation queries all the multipart upload tasks that are initialized but have not been merged or canceled in a bucket.This request uses parameters to specify the qu", "doc_type":"api", "kw":"Listing Initiated Multipart Uploads in a Bucket,Operations on Multipart Upload,API Reference", @@ -852,7 +872,7 @@ { "uri":"obs_04_0098.html", "product_code":"obs", - "code":"86", + "code":"88", "des":"Before using this operation, make an API operation call to create a multipart upload task. The system will return a globally unique upload ID as the multipart upload iden", "doc_type":"api", "kw":"Initiating a Multipart Upload,Operations on Multipart Upload,API Reference", @@ -862,7 +882,7 @@ { "uri":"obs_04_0099.html", "product_code":"obs", - "code":"87", + "code":"89", "des":"After initiating a multipart upload, you can use this operation to upload parts for the multipart upload using its task ID. When parts are uploaded in a multipart upload ", "doc_type":"api", "kw":"Multipart Upload,Operations on Multipart Upload,API Reference", @@ -872,7 +892,7 @@ { "uri":"obs_04_0100.html", "product_code":"obs", - "code":"88", + "code":"90", "des":"After creating a multipart upload job, you can specify its upload ID and upload a part to the job in OBS. Alternatively, you can make an API call to add a part (part of a", "doc_type":"api", "kw":"Uploading a Part of an Object - Copy,Operations on Multipart Upload,API Reference", @@ -882,7 +902,7 @@ { "uri":"obs_04_0101.html", "product_code":"obs", - "code":"89", + "code":"91", "des":"You can perform this operation to query all parts associated to a multipart upload. The size of each part listed by this API is the same as the size of the part uploaded.", "doc_type":"api", "kw":"Listing Uploaded Parts of an Object,Operations on Multipart Upload,API Reference", @@ -892,7 +912,7 @@ { "uri":"obs_04_0102.html", "product_code":"obs", - "code":"90", + "code":"92", "des":"After uploading all parts for a multipart upload, you can use this operation to complete the multipart upload. Before performing this operation, you cannot download the u", "doc_type":"api", "kw":"Completing a Multipart Upload,Operations on Multipart Upload,API Reference", @@ -902,7 +922,7 @@ { "uri":"obs_04_0103.html", "product_code":"obs", - "code":"91", + "code":"93", "des":"You can perform this operation to abort a multipart upload. You cannot upload or list parts after operations to merge parts or abort a multipart upload are performed.This", "doc_type":"api", "kw":"Canceling a Multipart Upload Task,Operations on Multipart Upload,API Reference", @@ -912,7 +932,7 @@ { "uri":"obs_04_0104.html", "product_code":"obs", - "code":"92", + "code":"94", "des":"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.", "doc_type":"api", "kw":"Server-Side Encryption", @@ -922,7 +942,7 @@ { "uri":"obs_04_0105.html", "product_code":"obs", - "code":"93", + "code":"95", "des":"Users can upload and download objects in common mode or using server-side encryption.OBS supports server-side encryption.Users can implement this function based on the ke", "doc_type":"api", "kw":"Server-Side Encryption Overview,Server-Side Encryption,API Reference", @@ -932,7 +952,7 @@ { "uri":"obs_04_0106.html", "product_code":"obs", - "code":"94", + "code":"96", "des":"In the SSE-KMS mode, OBS uses the keys provided by KMS for server-side encryption. When an object encrypted using SSE-KMS is added to a bucket in a region for the first t", "doc_type":"api", "kw":"Server-Side Encryption (SSE-KMS),Server-Side Encryption,API Reference", @@ -942,7 +962,7 @@ { "uri":"obs_04_0107.html", "product_code":"obs", - "code":"95", + "code":"97", "des":"In the SSE-C mode, OBS uses the keys and MD5 values provided by customers for server-side encryption.OBS does not store your encryption keys. If you lost your encryption ", "doc_type":"api", "kw":"Server-Side Encryption (SSE-C),Server-Side Encryption,API Reference", @@ -952,17 +972,27 @@ { "uri":"obs_04_0108.html", "product_code":"obs", - "code":"96", + "code":"98", "des":"This section lists the operations related to server-side encryption and describes HTTP protocols applicable to the operations.The following table describes the requiremen", "doc_type":"api", "kw":"API Operations Related to Server-Side Encryption,Server-Side Encryption,API Reference", "title":"API Operations Related to Server-Side Encryption", "githuburl":"" }, + { + "uri":"obs_04_0115.html", + "product_code":"obs", + "code":"99", + "des":"If an API call fails, no result data is returned. You can locate the cause of the error according to the error code of each API. If an API call fails, HTTP status code 3x", + "doc_type":"api", + "kw":"Error Codes,API Reference", + "title":"Error Codes", + "githuburl":"" + }, { "uri":"obs_04_0113.html", "product_code":"obs", - "code":"97", + "code":"100", "des":"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.", "doc_type":"api", "kw":"Appendixes", @@ -972,27 +1002,17 @@ { "uri":"obs_04_0114.html", "product_code":"obs", - "code":"98", + "code":"101", "des":"Table 1 lists the status codes and prompt message returned by the server to the user.Send API requests using the HTTP/HTTPS format that complies with https://www.ietf.org", "doc_type":"api", "kw":"Status Codes,Appendixes,API Reference", "title":"Status Codes", "githuburl":"" }, - { - "uri":"obs_04_0115.html", - "product_code":"obs", - "code":"99", - "des":"If an API call fails, no result data is returned. You can locate the cause of the error according to the error code of each API. If an API call fails, HTTP status code 3x", - "doc_type":"api", - "kw":"Error Codes,Appendixes,API Reference", - "title":"Error Codes", - "githuburl":"" - }, { "uri":"obs_04_0116.html", "product_code":"obs", - "code":"100", + "code":"102", "des":"When you call APIs, you need to use the AK and SK for authentication. To obtain the AK and SK, perform the following steps:Keep AKs and SKs properly to prevent informatio", "doc_type":"api", "kw":"Obtaining Access Keys (AK/SK),Appendixes,API Reference", @@ -1002,7 +1022,7 @@ { "uri":"obs_04_0117.html", "product_code":"obs", - "code":"101", + "code":"103", "des":"During API calls, the domain ID (DomainID) and user ID (UserID) need to be specified in some requests. Therefore, you need to obtain them from the console. The procedure ", "doc_type":"api", "kw":"Obtaining the Domain ID and User ID,Appendixes,API Reference", @@ -1012,7 +1032,7 @@ { "uri":"obs_04_0118.html", "product_code":"obs", - "code":"102", + "code":"104", "des":"After a success message is returned in response to a client's write or deletion request, the client can obtain the latest data. If a client that initiates a write request", "doc_type":"api", "kw":"Consistency of Concurrent Operations,Appendixes,API Reference", @@ -1022,7 +1042,7 @@ { "uri":"obs_04_0000.html", "product_code":"obs", - "code":"103", + "code":"105", "des":"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.", "doc_type":"api", "kw":"Change History,API Reference", diff --git a/docs/obs/api-ref/CLASS.TXT.json b/docs/obs/api-ref/CLASS.TXT.json index 332ff4ce..005b5fb7 100644 --- a/docs/obs/api-ref/CLASS.TXT.json +++ b/docs/obs/api-ref/CLASS.TXT.json @@ -198,7 +198,7 @@ "code":"22" }, { - "desc":"This operation lists objects in a bucket. To use this operation, you must have the permission to read the bucket.If you specify only the bucket name in the request URI, f", + "desc":"This operation lists objects in a bucket. To use this operation, you must have the permission to read the bucket.If you specify only the bucket name in the request, OBS r", "product_code":"obs", "title":"Listing Objects in a Bucket", "uri":"obs_04_0022.html", @@ -441,7 +441,7 @@ "code":"49" }, { - "desc":"This operation deletes the tags of a bucket.To perform this operation, you must have the PutBucketTagging permission. By default, only the bucket owner can delete the tag", + "desc":"This operation deletes the tags of a bucket.To perform this operation, you must have the DeleteBucketTagging permission. By default, only the bucket owner can delete the ", "product_code":"obs", "title":"Deleting Tags", "uri":"obs_04_0051.html", @@ -459,7 +459,7 @@ "code":"51" }, { - "desc":"Only the bucket owner can query information about the bucket storage quota. However, an inactive owner is not allowed to get the bucket quota. The bucket storage quota is", + "desc":"A bucket owner can query the bucket storage quota, but a bucket owner who is frozen due to arrears cannot. The bucket storage quota is measured by byte. 0 indicates that ", "product_code":"obs", "title":"Querying Bucket Storage Quota", "uri":"obs_04_0053.html", @@ -530,6 +530,24 @@ "p_code":"28", "code":"59" }, + { + "desc":"The requester-pays configuration allows the requester to pay for data transfer and API calls associated with accessing the requested OBS resources, while the bucket owner", + "product_code":"obs", + "title":"Configuring the Requester-Pays Function for a Bucket", + "uri":"obs_04_0068.html", + "doc_type":"api", + "p_code":"28", + "code":"60" + }, + { + "desc":"This API obtains the requester-pays configuration information of a bucket.This request contains no message parameters.This request uses common headers. For details, see T", + "product_code":"obs", + "title":"Obtaining the Requester-Pays Configuration Information of a Bucket", + "uri":"obs_04_0069.html", + "doc_type":"api", + "p_code":"28", + "code":"61" + }, { "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", @@ -537,7 +555,7 @@ "uri":"obs_04_0070.html", "doc_type":"api", "p_code":"19", - "code":"60" + "code":"62" }, { "desc":"OBS allows you to store static web page resources such as HTML web pages, flash files, videos, and audios in a bucket. When a client accesses these resources from the web", @@ -545,8 +563,8 @@ "title":"Configuring Static Website Hosting for a Bucket", "uri":"obs_04_0071.html", "doc_type":"api", - "p_code":"60", - "code":"61" + "p_code":"62", + "code":"63" }, { "desc":"You can perform this operation to get the static website hosting configuration of a bucket.To perform this operation, you must have the GetBucketWebsite permission. By de", @@ -554,8 +572,8 @@ "title":"Obtaining the Static Website Hosting Configuration of a Bucket", "uri":"obs_04_0072.html", "doc_type":"api", - "p_code":"60", - "code":"62" + "p_code":"62", + "code":"64" }, { "desc":"You can perform this operation to delete the website configuration of a bucket.To perform this operation, you must have the DeleteBucketWebsite permission. By default, on", @@ -563,8 +581,8 @@ "title":"Deleting the Static Website Hosting Configuration of a Bucket", "uri":"obs_04_0073.html", "doc_type":"api", - "p_code":"60", - "code":"63" + "p_code":"62", + "code":"65" }, { "desc":"Cross-origin resource sharing (CORS) is a standard mechanism proposed by World Wide Web Consortium (W3C) and allows cross-origin requests from clients. For standard web p", @@ -572,8 +590,8 @@ "title":"Configuring Bucket CORS", "uri":"obs_04_0074.html", "doc_type":"api", - "p_code":"60", - "code":"64" + "p_code":"62", + "code":"66" }, { "desc":"You can perform this operation to obtain CORS configuration information about a specified bucket.To perform this operation, you must have the GetBucketCORS permission. By", @@ -581,8 +599,8 @@ "title":"Obtaining the CORS Configuration of a Bucket", "uri":"obs_04_0075.html", "doc_type":"api", - "p_code":"60", - "code":"65" + "p_code":"62", + "code":"67" }, { "desc":"This operation is used to delete the CORS configuration of a bucket. After the CORS configuration is deleted, the bucket and objects in it cannot be accessed by requests ", @@ -590,8 +608,8 @@ "title":"Deleting the CORS Configuration of a Bucket", "uri":"obs_04_0076.html", "doc_type":"api", - "p_code":"60", - "code":"66" + "p_code":"62", + "code":"68" }, { "desc":"OPTIONS refers to pre-requests that are sent to servers by clients. Generally, the requests are used to check whether clients have permissions to perform operations on se", @@ -599,8 +617,8 @@ "title":"OPTIONS Bucket", "uri":"obs_04_0077.html", "doc_type":"api", - "p_code":"60", - "code":"67" + "p_code":"62", + "code":"69" }, { "desc":"For details, see OPTIONS Bucket.With the OPTIONS Object, you need to specify an object name in the URL, but an object name is not required with the OPTIONS Bucket, which ", @@ -608,8 +626,8 @@ "title":"OPTIONS Object", "uri":"obs_04_0078.html", "doc_type":"api", - "p_code":"60", - "code":"68" + "p_code":"62", + "code":"70" }, { "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.", @@ -618,16 +636,16 @@ "uri":"obs_04_0079.html", "doc_type":"api", "p_code":"19", - "code":"69" + "code":"71" }, { - "desc":"After bucket creation in OBS, you can use this operation to upload an object to the bucket. Uploading an object adds it to a bucket. This requires users to have the write", + "desc":"After bucket creation in OBS, you can use this operation to upload an object to the bucket. This operation uploads an object to a bucket. To use this operation, you must ", "product_code":"obs", "title":"Uploading Objects - PUT", "uri":"obs_04_0080.html", "doc_type":"api", - "p_code":"69", - "code":"70" + "p_code":"71", + "code":"72" }, { "desc":"This operation uploads an object to a bucket. To use this operation, you must have the write permission on the bucket.The name of each object in a bucket must be unique.W", @@ -635,8 +653,8 @@ "title":"Uploading Objects - POST", "uri":"obs_04_0081.html", "doc_type":"api", - "p_code":"69", - "code":"71" + "p_code":"71", + "code":"73" }, { "desc":"You can perform this operation to create a copy of an existing object in OBS.Users can determine whether to copy the metadata of the source object to the target object (b", @@ -644,8 +662,8 @@ "title":"Copying Objects", "uri":"obs_04_0082.html", "doc_type":"api", - "p_code":"69", - "code":"72" + "p_code":"71", + "code":"74" }, { "desc":"This operation downloads objects from OBS. Before using this GET operation, check that you have the read permission for the target object. If the object owner has granted", @@ -653,8 +671,8 @@ "title":"Downloading Objects", "uri":"obs_04_0083.html", "doc_type":"api", - "p_code":"69", - "code":"73" + "p_code":"71", + "code":"75" }, { "desc":"Users with the read permission on objects can perform the HeadObject operation to obtain metadata of objects. The object metadata is included in the response.This operati", @@ -662,8 +680,8 @@ "title":"Querying Object Metadata", "uri":"obs_04_0084.html", "doc_type":"api", - "p_code":"69", - "code":"74" + "p_code":"71", + "code":"76" }, { "desc":"You can perform this operation to delete an object. If you try to delete an object that does not exist, OBS will return a success message.When versioning is enabled for a", @@ -671,8 +689,8 @@ "title":"Deleting an Object", "uri":"obs_04_0085.html", "doc_type":"api", - "p_code":"69", - "code":"75" + "p_code":"71", + "code":"77" }, { "desc":"This operation can be used to batch delete some objects in a bucket. The deletion cannot be undone. After the operation is implemented, the returned information contains ", @@ -680,8 +698,8 @@ "title":"Deleting Objects", "uri":"obs_04_0086.html", "doc_type":"api", - "p_code":"69", - "code":"76" + "p_code":"71", + "code":"78" }, { "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", @@ -689,8 +707,8 @@ "title":"Restoring Cold Objects", "uri":"obs_04_0087.html", "doc_type":"api", - "p_code":"69", - "code":"77" + "p_code":"71", + "code":"79" }, { "desc":"OBS supports the control of access permission for objects. By default, only the object creator has the read and write permissions for the object. However, the creator can", @@ -698,8 +716,8 @@ "title":"Configuring an Object ACL", "uri":"obs_04_0089.html", "doc_type":"api", - "p_code":"69", - "code":"78" + "p_code":"71", + "code":"80" }, { "desc":"The implementation of this operation returns the ACL configuration of an object. You can perform this operation to view the ACL of an object, as long as you have the read", @@ -707,8 +725,8 @@ "title":"Obtaining Object ACL Configuration", "uri":"obs_04_0090.html", "doc_type":"api", - "p_code":"69", - "code":"79" + "p_code":"71", + "code":"81" }, { "desc":"This operation modifies, deletes, or adds metadata to uploaded objects in a bucket.OBS supports the six HTTP request headers: Cache-Control, Expires, Content-Encoding, Co", @@ -716,8 +734,8 @@ "title":"Modifying Object Metadata", "uri":"obs_04_0091.html", "doc_type":"api", - "p_code":"69", - "code":"80" + "p_code":"71", + "code":"82" }, { "desc":"This operation can modify an object from a specified position.This API is supported only by parallel file systems. For details about how to create a parallel file system,", @@ -725,8 +743,8 @@ "title":"Modifying an Object", "uri":"obs_04_0092.html", "doc_type":"api", - "p_code":"69", - "code":"81" + "p_code":"71", + "code":"83" }, { "desc":"This operation can truncate an object to a specified size.This API is supported only by parallel file systems. For details about how to create a parallel file system, see", @@ -734,8 +752,8 @@ "title":"Truncating an Object", "uri":"obs_04_0093.html", "doc_type":"api", - "p_code":"69", - "code":"82" + "p_code":"71", + "code":"84" }, { "desc":"This operation can rename an object.This API is supported only by parallel file systems. For details about how to create a parallel file system, see Sample Request 4. Ren", @@ -743,8 +761,8 @@ "title":"Renaming an Object", "uri":"obs_04_0094.html", "doc_type":"api", - "p_code":"69", - "code":"83" + "p_code":"71", + "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.", @@ -753,7 +771,7 @@ "uri":"obs_04_0096.html", "doc_type":"api", "p_code":"19", - "code":"84" + "code":"86" }, { "desc":"This operation queries all the multipart upload tasks that are initialized but have not been merged or canceled in a bucket.This request uses parameters to specify the qu", @@ -761,8 +779,8 @@ "title":"Listing Initiated Multipart Uploads in a Bucket", "uri":"obs_04_0097.html", "doc_type":"api", - "p_code":"84", - "code":"85" + "p_code":"86", + "code":"87" }, { "desc":"Before using this operation, make an API operation call to create a multipart upload task. The system will return a globally unique upload ID as the multipart upload iden", @@ -770,8 +788,8 @@ "title":"Initiating a Multipart Upload", "uri":"obs_04_0098.html", "doc_type":"api", - "p_code":"84", - "code":"86" + "p_code":"86", + "code":"88" }, { "desc":"After initiating a multipart upload, you can use this operation to upload parts for the multipart upload using its task ID. When parts are uploaded in a multipart upload ", @@ -779,8 +797,8 @@ "title":"Multipart Upload", "uri":"obs_04_0099.html", "doc_type":"api", - "p_code":"84", - "code":"87" + "p_code":"86", + "code":"89" }, { "desc":"After creating a multipart upload job, you can specify its upload ID and upload a part to the job in OBS. Alternatively, you can make an API call to add a part (part of a", @@ -788,8 +806,8 @@ "title":"Uploading a Part of an Object - Copy", "uri":"obs_04_0100.html", "doc_type":"api", - "p_code":"84", - "code":"88" + "p_code":"86", + "code":"90" }, { "desc":"You can perform this operation to query all parts associated to a multipart upload. The size of each part listed by this API is the same as the size of the part uploaded.", @@ -797,8 +815,8 @@ "title":"Listing Uploaded Parts of an Object", "uri":"obs_04_0101.html", "doc_type":"api", - "p_code":"84", - "code":"89" + "p_code":"86", + "code":"91" }, { "desc":"After uploading all parts for a multipart upload, you can use this operation to complete the multipart upload. Before performing this operation, you cannot download the u", @@ -806,8 +824,8 @@ "title":"Completing a Multipart Upload", "uri":"obs_04_0102.html", "doc_type":"api", - "p_code":"84", - "code":"90" + "p_code":"86", + "code":"92" }, { "desc":"You can perform this operation to abort a multipart upload. You cannot upload or list parts after operations to merge parts or abort a multipart upload are performed.This", @@ -815,8 +833,8 @@ "title":"Canceling a Multipart Upload Task", "uri":"obs_04_0103.html", "doc_type":"api", - "p_code":"84", - "code":"91" + "p_code":"86", + "code":"93" }, { "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.", @@ -825,7 +843,7 @@ "uri":"obs_04_0104.html", "doc_type":"api", "p_code":"19", - "code":"92" + "code":"94" }, { "desc":"Users can upload and download objects in common mode or using server-side encryption.OBS supports server-side encryption.Users can implement this function based on the ke", @@ -833,8 +851,8 @@ "title":"Server-Side Encryption Overview", "uri":"obs_04_0105.html", "doc_type":"api", - "p_code":"92", - "code":"93" + "p_code":"94", + "code":"95" }, { "desc":"In the SSE-KMS mode, OBS uses the keys provided by KMS for server-side encryption. When an object encrypted using SSE-KMS is added to a bucket in a region for the first t", @@ -842,8 +860,8 @@ "title":"Server-Side Encryption (SSE-KMS)", "uri":"obs_04_0106.html", "doc_type":"api", - "p_code":"92", - "code":"94" + "p_code":"94", + "code":"96" }, { "desc":"In the SSE-C mode, OBS uses the keys and MD5 values provided by customers for server-side encryption.OBS does not store your encryption keys. If you lost your encryption ", @@ -851,8 +869,8 @@ "title":"Server-Side Encryption (SSE-C)", "uri":"obs_04_0107.html", "doc_type":"api", - "p_code":"92", - "code":"95" + "p_code":"94", + "code":"97" }, { "desc":"This section lists the operations related to server-side encryption and describes HTTP protocols applicable to the operations.The following table describes the requiremen", @@ -860,25 +878,7 @@ "title":"API Operations Related to Server-Side Encryption", "uri":"obs_04_0108.html", "doc_type":"api", - "p_code":"92", - "code":"96" - }, - { - "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":"Appendixes", - "uri":"obs_04_0113.html", - "doc_type":"api", - "p_code":"", - "code":"97" - }, - { - "desc":"Table 1 lists the status codes and prompt message returned by the server to the user.Send API requests using the HTTP/HTTPS format that complies with https://www.ietf.org", - "product_code":"obs", - "title":"Status Codes", - "uri":"obs_04_0114.html", - "doc_type":"api", - "p_code":"97", + "p_code":"94", "code":"98" }, { @@ -887,17 +887,35 @@ "title":"Error Codes", "uri":"obs_04_0115.html", "doc_type":"api", - "p_code":"97", + "p_code":"", "code":"99" }, + { + "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":"Appendixes", + "uri":"obs_04_0113.html", + "doc_type":"api", + "p_code":"", + "code":"100" + }, + { + "desc":"Table 1 lists the status codes and prompt message returned by the server to the user.Send API requests using the HTTP/HTTPS format that complies with https://www.ietf.org", + "product_code":"obs", + "title":"Status Codes", + "uri":"obs_04_0114.html", + "doc_type":"api", + "p_code":"100", + "code":"101" + }, { "desc":"When you call APIs, you need to use the AK and SK for authentication. To obtain the AK and SK, perform the following steps:Keep AKs and SKs properly to prevent informatio", "product_code":"obs", "title":"Obtaining Access Keys (AK/SK)", "uri":"obs_04_0116.html", "doc_type":"api", - "p_code":"97", - "code":"100" + "p_code":"100", + "code":"102" }, { "desc":"During API calls, the domain ID (DomainID) and user ID (UserID) need to be specified in some requests. Therefore, you need to obtain them from the console. The procedure ", @@ -905,8 +923,8 @@ "title":"Obtaining the Domain ID and User ID", "uri":"obs_04_0117.html", "doc_type":"api", - "p_code":"97", - "code":"101" + "p_code":"100", + "code":"103" }, { "desc":"After a success message is returned in response to a client's write or deletion request, the client can obtain the latest data. If a client that initiates a write request", @@ -914,8 +932,8 @@ "title":"Consistency of Concurrent Operations", "uri":"obs_04_0118.html", "doc_type":"api", - "p_code":"97", - "code":"102" + "p_code":"100", + "code":"104" }, { "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.", @@ -924,6 +942,6 @@ "uri":"obs_04_0000.html", "doc_type":"api", "p_code":"", - "code":"103" + "code":"105" } ] \ No newline at end of file diff --git a/docs/obs/api-ref/obs_04_0000.html b/docs/obs/api-ref/obs_04_0000.html index 664f1fd5..50d834cc 100644 --- a/docs/obs/api-ref/obs_04_0000.html +++ b/docs/obs/api-ref/obs_04_0000.html @@ -8,7 +8,14 @@ -

2023-05-04

+

2023-06-20

+ +

This is the seventh official release.

+

This issue incorporates the following changes:

+ + + +

2023-05-04

This is the sixth official release.

This issue incorporates the following change:

diff --git a/docs/obs/api-ref/obs_04_0005.html b/docs/obs/api-ref/obs_04_0005.html index 9461162f..07d8a5d1 100644 --- a/docs/obs/api-ref/obs_04_0005.html +++ b/docs/obs/api-ref/obs_04_0005.html @@ -204,6 +204,16 @@

Deletes the default server-side encryption configuration of a bucket.

+

Configuring the Requester-Pays Function for a Bucket

+ +

Configures the requester-pays function for a bucket.

+ + +

Obtaining the Requester-Pays Configuration Information of a Bucket

+ +

Obtains the requester-pays configuration information of a bucket.

+ + diff --git a/docs/obs/api-ref/obs_04_0010.html b/docs/obs/api-ref/obs_04_0010.html index d7557298..cf220b56 100644 --- a/docs/obs/api-ref/obs_04_0010.html +++ b/docs/obs/api-ref/obs_04_0010.html @@ -49,7 +49,7 @@

CanonicalizedHeaders

-

OBS request header field in an HTTP request header, referring to header fields started with x-obs-, for example, x-obs-date, x-obs-acl, and x-obs-meta-*.

+

OBS request header field in an HTTP request header, referring to header fields starting with x-obs-, such as, x-obs-date, x-obs-acl, and x-obs-meta-*. When calling an API, choose a header that is supported by the API as required.

  1. All characters of keywords in a request header field must be converted to lowercase letters (content values must be case sensitive, for example, x-obs-storage-class:STANDARD). If a request contains multiple header fields, these fields should be organized by keyword in the alphabetical order from a to z.
  2. If multiple header fields in a request have the same prefix, combine the header fields into one. For example, x-obs-meta-name:name1 and x-obs-meta-name:name2 should be reorganized into x-obs-meta-name:name1,name2. Use comma to separate the values.
  3. Keywords in the request header field cannot contain non-ASCII or unrecognizable characters, which are also not advisable for values in the request header field. If the two types of characters are necessary, they should be encoded and decoded on the client side. Either URL encoding or Base64 encoding is acceptable, but the server does not perform decoding.
  4. Delete meaningless spaces and tabs in a header field. For example, x-obs-meta-name: name (with a meaningless space before name) must be changed to x-obs-meta-name:name.
  5. Each header field occupies a separate line. See Table 4.
@@ -57,7 +57,7 @@

Indicates the OBS resource specified by an HTTP request. This parameter is constructed as follows:

<Bucket name + Object name> + [Subresource 1] + [Subresource 2] + ...

-
  1. Bucket name and object name, for example, /bucket/object. If no object name is specified, for example, /bucket/, the entire bucket is listed. If no bucket name is specified either, the value of this field is /.
  2. If a subresource (such as ?acl and ?logging) exists, the subresource must be added.

    OBS supports a variety of sub-resources, including acl, attname, cors, customdomain, delete, deletebucket, encryption, length, lifecycle, location, logging, metadata, modify, name, notification, partNumber, policy, position, quota, rename, replication, response-cache-control, response-content-disposition, response-content-encoding, response-content-language, response-content-type, response-expires, restore, storageClass, storagePolicy, storageinfo, tagging, torrent, truncate, uploadId, uploads, versionId, versioning, versions, website, and x-obs-security-token.

    +
    1. Bucket name and object name, for example, /bucket/object. If no object name is specified, for example, /bucket/, the entire bucket is listed. If no bucket name is specified either, the value of this field is /.
    2. If a subresource (such as ?acl and ?logging) exists, the subresource must be added.

      OBS supports a variety of sub-resources, including acl, attname, cors, customdomain, delete, deletebucket, encryption, length, lifecycle, location, logging, metadata, modify, name, notification, partNumber, policy, position, quota, rename, replication, requestPayment, response-cache-control, response-content-disposition, response-content-encoding, response-content-language, response-content-type, response-expires, restore, storageClass, storagePolicy, storageinfo, tagging, torrent, truncate, uploadId, uploads, versionId, versioning, versions, website, and x-obs-security-token.

    3. If there are multiple subresources, sort them in the alphabetical order from a to z, and use & to combine the subresources.
    NOTE:
    • A subresource is unique. Do not add subresources with the same keyword (for example, key=value1&key=value2) in the same request URL. In this case, signature is computed only based on the first subresource, and only the value of the first subresource takes effect on the actual service.
    • Using the GetObject API as an example, assume there is a bucket named bucket-test and an object named object-test in the bucket, and the object version is xxx. When obtaining the object, you need to rewrite Content-Type to text/plain. Then, the CanonicalizedResource calculated by the signature is /bucket-test/object-test?response-content-type=text/plain&versionId=xxx.
    @@ -522,7 +522,7 @@ Authorization: OBS UDSIAMSTUBTEST000254:ydH8ffpcbS6YpeOMcEZfn0wE90c= "CDNNotifyConfiguration", "acl", "attname", "cors", "customdomain", "delete", "deletebucket", "encryption", "length", "lifecycle", "location", "logging", "metadata", "mirrorBackToSource", "modify", "name", "notification", "obscompresspolicy", - "partNumber", "policy", "position", "quota","rename", "replication", "response-cache-control", + "partNumber", "policy", "position", "quota","rename", "replication", "requestPayment", "response-cache-control", "response-content-disposition","response-content-encoding", "response-content-language", "response-content-type", "response-expires","restore", "storageClass", "storagePolicy", "storageinfo", "tagging", "torrent", "truncate", "uploadId", "uploads", "versionId", "versioning", "versions", "website", diff --git a/docs/obs/api-ref/obs_04_0011.html b/docs/obs/api-ref/obs_04_0011.html index b6f7fdd2..a5d0d8a2 100644 --- a/docs/obs/api-ref/obs_04_0011.html +++ b/docs/obs/api-ref/obs_04_0011.html @@ -105,7 +105,7 @@ Host: bucketname.obs.region.example.com<

    Indicates the OBS resource specified by an HTTP request. This parameter is constructed as follows:

    <Bucket name + Object name> + [Subresource 1] + [Subresource 2] + ...

    -
    1. Bucket name and object name, for example, /bucket/object. If no object name is specified, for example, /bucket/, the entire bucket is listed. If no bucket name is specified either, the value of this field is /.
    2. If a subresource (such as ?acl and ?logging) exists, the subresource must be added.

      OBS supports a variety of sub-resources, including acl, attname, cors, customdomain, delete, deletebucket, encryption, length, lifecycle, location, logging, metadata, modify, name, notification, partNumber, policy, position, quota, rename, replication, response-cache-control, response-content-disposition, response-content-encoding, response-content-language, response-content-type, response-expires, restore, storageClass, storagePolicy, storageinfo, tagging, torrent, truncate, uploadId, uploads, versionId, versioning, versions, website, and x-obs-security-token.

      +
      1. Bucket name and object name, for example, /bucket/object. If no object name is specified, for example, /bucket/, the entire bucket is listed. If no bucket name is specified either, the value of this field is /.
      2. If a subresource (such as ?acl and ?logging) exists, the subresource must be added.

        OBS supports a variety of sub-resources, including acl, attname, cors, customdomain, delete, deletebucket, encryption, length, lifecycle, location, logging, metadata, modify, name, notification, partNumber, policy, position, quota, rename, replication, requestPayment, response-cache-control, response-content-disposition, response-content-encoding, response-content-language, response-content-type, response-expires, restore, storageClass, storagePolicy, storageinfo, tagging, torrent, truncate, uploadId, uploads, versionId, versioning, versions, website, and x-obs-security-token.

      3. If there are multiple subresources, sort them in the alphabetical order from a to z, and use & to combine the subresources.
      NOTE:
      • A subresource is unique. Do not add subresources with the same keyword (for example, key=value1&key=value2) in the same request URL. In this case, signature is computed only based on the first subresource, and only the value of the first subresource takes effect on the actual service.
      • Using the GetObject API as an example, assume there is a bucket named bucket-test and an object named object-test in the bucket, and the object version is xxx. When obtaining the object, you need to rewrite Content-Type to text/plain. Then, the CanonicalizedResource calculated by the signature is /bucket-test/object-test?response-content-type=text/plain&versionId=xxx.
      @@ -470,7 +470,7 @@ Host: bucketname.obs.region.example.com< "CDNNotifyConfiguration", "acl", "attname", "cors", "customdomain", "delete", "deletebucket", "encryption", "length", "lifecycle", "location", "logging", "metadata", "mirrorBackToSource", "modify", "name", "notification", "obscompresspolicy", - "partNumber", "policy", "position", "quota","rename", "replication", "response-cache-control", + "partNumber", "policy", "position", "quota","rename", "replication", "requestPayment", "response-cache-control", "response-content-disposition","response-content-encoding", "response-content-language", "response-content-type", "response-expires","restore", "storageClass", "storagePolicy", "storageinfo", "tagging", "torrent", "truncate", "uploadId", "uploads", "versionId", "versioning", "versions", "website", diff --git a/docs/obs/api-ref/obs_04_0013.html b/docs/obs/api-ref/obs_04_0013.html index bba1de7c..bfdf0789 100644 --- a/docs/obs/api-ref/obs_04_0013.html +++ b/docs/obs/api-ref/obs_04_0013.html @@ -23,7 +23,7 @@

      Indicates whether the connection to the server is a long connection or a short connection.

      Type: string

      -

      Valid values: keep-alive | close

      +

      Value options: keep-alive, close

      Default value: none

      @@ -47,6 +47,13 @@

      Default value: none

      +

      x-reserved-indicator

      + +

      A special symbol that helps troubleshoot faults.

      +

      Type: string

      +

      Default value: none

      + +

      x-obs-request-id

      The value created by OBS to uniquely identify the request. OBS uses this value to troubleshoot faults.

      diff --git a/docs/obs/api-ref/obs_04_0021.html b/docs/obs/api-ref/obs_04_0021.html index 259a64e7..fbc71f42 100644 --- a/docs/obs/api-ref/obs_04_0021.html +++ b/docs/obs/api-ref/obs_04_0021.html @@ -6,7 +6,7 @@

      A bucket name must be unique in OBS. If a user creates a bucket with the same name as that of an existing bucket under the same account and in the same region, a 200 code (indicating success) is returned. In scenarios other than the preceding one, the request for creating a bucket with the same name as that of an existing one will receive the 409 code (indicating that a namesake bucket already exists). To set an access control policy for the bucket to be created, you can add the x-obs-acl parameter to request headers.

      -

      Storage Class

      You can create buckets with different storage classes. The x-obs-storage-class header in a bucket creation request specifies the storage class for a bucket. If you do not specify a storage class when you upload an object to the bucket, the object inherits the storage class of the bucket. There are three storage classes: STANDARD (Standard storage class), WARM (Warm storage class), and COLD (Cold storage class) If this header is not in the request, the storage class of the created bucket is Standard.

      +

      Storage Class

      You can create buckets with different storage classes. The x-obs-storage-class header in a bucket creation request specifies the storage class for a bucket. If you do not specify a storage class when you upload an object to the bucket, the object inherits the storage class of the bucket. There are three storage classes: STANDARD (Standard storage class), WARM (Warm storage class), and COLD (Cold storage class) If this header is not in the request, the storage class of the created bucket is Standard.

      If the storage class of an object is not specified when it is uploaded to a bucket (see Uploading Objects - PUT), the object will be stored in the default storage class of the bucket.

      • OBS Standard features low access latency and high throughput. It is most suitable for storing frequently accessed (multiple times per month) hot files. Potential application scenarios include big data, mobile applications, trending videos, and social media images.
      • OBS Warm storage class is suitable for storing data that is infrequently accessed (less than 12 times a year) yet has quick response requirements. Potential application scenarios include file synchronization or sharing and enterprise backup. It provides the same durability, access latency, and throughput as the Standard storage class but at a lower price. However, the Warm storage class has lower availability than the Standard one.
      • OBS Cold storage class is applicable to archiving rarely-accessed (averagely once a year) data. The application scenarios include data archiving and long-term data retention for backup. The Cold storage class is secure, durable, and inexpensive, which can replace tape libraries. To keep cost low, it may take hours to restore data from the Cold storage class.
      @@ -63,7 +63,7 @@ Authorization: authorization

      This header grants the read permission to all users under an account. It allows you to list objects in a bucket, list multipart tasks in a bucket, list multi-version objects in a bucket, and obtain bucket metadata.

      Type: string

      -

      Example: x-obs-grant-read:id=Tenant ID.

      +

      Example: x-obs-grant-read:id=Tenant ID

      No

      @@ -72,7 +72,7 @@ Authorization: authorization

      This header grants the write permission to all users under an account. Therefore, the users can create, delete, and overwrite all objects in a bucket, and can initialize parts, upload parts, copy parts, merge parts, and cancel multipart upload tasks.

      Type: string

      -

      Example: x-obs-grant-write:id=Tenant ID.

      +

      Example: x-obs-grant-write:id=Tenant ID

      No

      @@ -81,7 +81,7 @@ Authorization: authorization

      This header grants the ACL read permission to all users under an account. Therefore, the users can read the bucket ACL information.

      Type: string

      -

      Example: x-obs-grant-read-acp:id=Account ID.

      +

      Example: x-obs-grant-read-acp:id=Account ID

      No

      @@ -90,7 +90,7 @@ Authorization: authorization

      This header grants the ACL write permission to all users under an account. Therefore, the users can modify the ACL of the bucket.

      Type: string

      -

      Example: x-obs-grant-write-acp:id=Account ID.

      +

      Example: x-obs-grant-write-acp:id=Account ID

      No

      @@ -99,7 +99,7 @@ Authorization: authorization

      This header grants the full control permission to all users under an account.

      Type: string

      -

      Example: x-obs-grant-full-control:id=Account ID.

      +

      Example: x-obs-grant-full-control:id=Account ID

      No

      @@ -108,7 +108,7 @@ Authorization: authorization

      This header grants the read permission to all users under an account. By default, the read permission is applied to all objects in the bucket.

      Type: string

      -

      Example: x-obs-grant-read-delivered:id=Account ID.

      +

      Example: x-obs-grant-read-delivered:id=Account ID

      No

      @@ -117,7 +117,7 @@ Authorization: authorization

      This header grants the full control permission to all users under an account. By default, the FULL_CONTROL permission is applied to all objects in the bucket.

      Type: string

      -

      Example: x-obs-grant-full-control-delivered:id=Account ID.

      +

      Example: x-obs-grant-full-control-delivered:id=Account ID

      No

      diff --git a/docs/obs/api-ref/obs_04_0022.html b/docs/obs/api-ref/obs_04_0022.html index 95317642..f93b8d24 100644 --- a/docs/obs/api-ref/obs_04_0022.html +++ b/docs/obs/api-ref/obs_04_0022.html @@ -2,7 +2,7 @@

      Listing Objects in a Bucket

      Functions

      This operation lists objects in a bucket. To use this operation, you must have the permission to read the bucket.

      -

      If you specify only the bucket name in the request URI, for example GET /BucketName, OBS returns descriptions for some or all objects (a maximum of 1000 objects) in the bucket. If you also specify one or more parameters among prefix, marker, max-keys, and delimiter in the request, OBS returns a list of objects as specified.

      +

      If you specify only the bucket name in the request, OBS returns descriptions for some or all of the objects (a maximum of 1,000 objects) in the bucket. If you also specify one or more parameters among prefix, marker, max-keys, and delimiter in the request, OBS returns a list of objects based on the semantics specified in Table 1.

      You can also add the versions parameter to the request to list multiple versions of an object in a bucket.

      Request Syntax

      - - @@ -167,7 +168,7 @@ Content-Length: length - @@ -228,18 +229,11 @@ Content-Length: length

      Ancestor: ListBucketResult.Contents

      - - - @@ -379,7 +373,7 @@ Content-Length: length - @@ -423,6 +417,7 @@ Content-Length: length diff --git a/docs/obs/api-ref/obs_04_0023.html b/docs/obs/api-ref/obs_04_0023.html index e23da3b8..2cc50444 100644 --- a/docs/obs/api-ref/obs_04_0023.html +++ b/docs/obs/api-ref/obs_04_0023.html @@ -114,7 +114,7 @@ Date: date @@ -222,6 +222,7 @@ Authorization: signatureValue - @@ -159,7 +159,7 @@ Content-MD5: MD5 - diff --git a/docs/obs/api-ref/obs_04_0035.html b/docs/obs/api-ref/obs_04_0035.html index 6647c114..13c9ccc4 100644 --- a/docs/obs/api-ref/obs_04_0035.html +++ b/docs/obs/api-ref/obs_04_0035.html @@ -114,7 +114,7 @@ Content-Length: length - @@ -130,7 +130,7 @@ Content-Length: length @@ -222,7 +222,7 @@ Content-Length: length diff --git a/docs/obs/api-ref/obs_04_0037.html b/docs/obs/api-ref/obs_04_0037.html index 862b1e40..441850ea 100644 --- a/docs/obs/api-ref/obs_04_0037.html +++ b/docs/obs/api-ref/obs_04_0037.html @@ -59,7 +59,7 @@ Content-Length: length diff --git a/docs/obs/api-ref/obs_04_0038.html b/docs/obs/api-ref/obs_04_0038.html index 73992f93..8b36dcd5 100644 --- a/docs/obs/api-ref/obs_04_0038.html +++ b/docs/obs/api-ref/obs_04_0038.html @@ -60,7 +60,7 @@ Content-Length: length diff --git a/docs/obs/api-ref/obs_04_0039.html b/docs/obs/api-ref/obs_04_0039.html index 92582cc9..915aac33 100644 --- a/docs/obs/api-ref/obs_04_0039.html +++ b/docs/obs/api-ref/obs_04_0039.html @@ -166,7 +166,7 @@ Authorization: authorization strin diff --git a/docs/obs/api-ref/obs_04_0040.html b/docs/obs/api-ref/obs_04_0040.html index dbfdd841..1887f913 100644 --- a/docs/obs/api-ref/obs_04_0040.html +++ b/docs/obs/api-ref/obs_04_0040.html @@ -146,7 +146,7 @@ Content-Length: length diff --git a/docs/obs/api-ref/obs_04_0047.html b/docs/obs/api-ref/obs_04_0047.html index 05a6d076..e6c9cef6 100644 --- a/docs/obs/api-ref/obs_04_0047.html +++ b/docs/obs/api-ref/obs_04_0047.html @@ -108,7 +108,7 @@ Content-Length: contentlength
      1
      @@ -57,7 +57,7 @@ Authorization: authorization
       

      max-keys

      Sets the maximum number of objects (in alphabetical order) returned in the response body. The value ranges from 1 to 1000. If the value has exceeded the upper limit, 1,000 objects are returned by default.

      +

      Specifies the maximum number of objects returned (in alphabetical order) in the response. The value ranges from 1 to 1000. If there are over 1,000 objects, only 1,000 objects are returned by default.

      Type: integer

      No

      @@ -67,6 +67,7 @@ Authorization: authorization

      Separator used to group object names. If a prefix is specified, objects with the same string from the prefix to the first delimiter are grouped into one CommonPrefixes. If no prefix is specified, objects with the same string from the first character to the first delimiter are grouped into one CommonPrefixes.

      For example, there are three objects (abcd, abcde, and bbcde) in a bucket. If delimiter is set to d and prefix is set to a, objects abcd and abcde are grouped into a CommonPrefixes with abcd as the prefix. If only delimiter is set to d, objects abcd and abcde are grouped into a CommonPrefixes with abcd as the prefix, and bbcde is grouped separately into another CommonPrefixes with bbcd as the prefix.

      +

      For a parallel file system, if this parameter is not specified, all the content in the directory is recursively listed by default, and subdirectories are also listed. In big data scenarios, parallel file systems usually have deep directory levels and each directory has a large number of files. In such case, you are advised to configure [delimiter=/] to list the content in the current directory, but not list subdirectories, thereby improving the listing efficiency.

      Type: string

      No

      @@ -153,7 +154,7 @@ Content-Length: length

      ETag

      128-bit MD5 digest of the Base64 code of an object. ETag is the unique identifier of the object content. It can be used to identify whether the object content is changed. For example, if the ETag value is A when an object is uploaded, but this value has changed to B when the object is downloaded, it indicates that the object content has been changed. The ETag value is a hash of the object, which reflects changes only to the object content, rather than its metadata. An uploaded object or copied object has a unique ETag after being encrypted using MD5. (If the object is encrypted on the server side, the ETag value is not the MD5 digest of the object, but the unique identifier calculated through server-side encryption.)

      +

      128-bit MD5 digest of the Base64 code of an object. ETag is the unique identifier of the object content. It can be used to determine whether the object content is changed. For example, if the ETag value is A when an object is uploaded, but this value has changed to B when the object is downloaded, it indicates that the object content has been changed. The ETag value is a hash of the object. The ETag reflects changes to the object content, rather than the object metadata. An uploaded object or copied object has a unique ETag after being encrypted using MD5. (If the object is encrypted on the server side, the ETag value is not the MD5 digest of the object, but the unique identifier calculated through server-side encryption.)

      Type: string

      Ancestor: ListBucketResult.Contents

      ID

      Tenant ID of the object owner

      +

      Domain ID of the object owner

      Type: string

      Ancestor: ListBucketResult.Contents.Owner

      ID

      -

      Domain ID of the object owner

      -

      Type: string

      -

      Ancestor: ListVersionsResult.Contents.Owner

      -

      DisplayName

      Name of the object owner

      Type: string

      -

      Ancestor: ListVersionsResult.Contents.Owner

      +

      Ancestor: ListBucketResult.Contents.Owner

      Prefix

      @@ -260,7 +254,7 @@ Content-Length: length

      Storage class of an object

      Type: string

      -

      Value options: STANDARD | WARM | COLD

      +

      Value options: STANDARD, WARM, COLD

      Ancestor: ListBucketResult.Contents

      ETag

      128-bit MD5 digest of the Base64 code of an object. ETag is the unique identifier of the object content. It can be used to identify whether the object content is changed. The actual ETag is the hash value of the object. For example, if the ETag value is A when an object is uploaded, but this value has changed to B when the object is downloaded, it indicates that the object content has been changed. The ETag reflects changes only to the object content, rather than its metadata. An uploaded object or copied object has a unique ETag after being encrypted using MD5.

      +

      128-bit MD5 digest of the Base64 code of an object. ETag is the unique identifier of the object content. It can be used to determine whether the object content is changed. The actual ETag is the hash value of the object. For example, if the ETag value is A when an object is uploaded, but this value has changed to B when the object is downloaded, it indicates that the object content has been changed. The ETag reflects changes to the object content, rather than the object metadata. An uploaded object or copied object has a unique ETag after being encrypted using MD5.

      Type: string

      Ancestor: ListVersionsResult.Version

      Storage class of an object

      Type: string

      +

      Value options: STANDARD, WARM, COLD

      Ancestor: ListVersionsResult.Version

      Indicates that methods in the rule are included in the response if Access-Control-Request-Method in the request meets the CORS configuration requirements when CORS is configured for buckets.

      Type: string

      -

      Valid values: GET, PUT, HEAD, POST, and DELETE.

      +

      Value options: GET, PUT, HEAD, POST, DELETE

      Access-Control-Expose-Headers

      diff --git a/docs/obs/api-ref/obs_04_0026.html b/docs/obs/api-ref/obs_04_0026.html index e286c556..cf1a44bb 100644 --- a/docs/obs/api-ref/obs_04_0026.html +++ b/docs/obs/api-ref/obs_04_0026.html @@ -66,6 +66,10 @@ + +

      x-obs-acl

      Uses the canned ACL for a bucket.

      -

      Value options: private | public-read | public-read-write | public-read-delivered | public-read-write-delivered

      +

      Value options: private, public-read, public-read-write, public-read-delivered, public-read-write-delivered

      Type: string

      No

      @@ -137,7 +137,7 @@ Content-Length: length

      Permission

      Permissions to be granted.

      -

      Value options: READ | READ_ACP | WRITE | WRITE_ACP | FULL_CONTROL

      +

      Value options: READ, READ_ACP, WRITE, WRITE_ACP, FULL_CONTROL

      Type: string

      No

      diff --git a/docs/obs/api-ref/obs_04_0032.html b/docs/obs/api-ref/obs_04_0032.html index a7f6bc4a..d7e93683 100644 --- a/docs/obs/api-ref/obs_04_0032.html +++ b/docs/obs/api-ref/obs_04_0032.html @@ -129,7 +129,7 @@ Authorization: signatureValue

      Permissions of the grantee to the generated logs.

      Type: string

      -

      Value options: FULL_CONTROL | READ | WRITE

      +

      Value options: FULL_CONTROL, READ, WRITE

      No

      787f2f92b20943998a4fe2ab75eb09b8

      ID of the requester

      +
      • When an account initiates a request, this parameter value is the account ID. When an IAM user initiates a request, this parameter value is the ID of the account where the IAM user belongs.
      • When an anonymous user initiates a request, this parameter value is Anonymous.

      RequestID

      diff --git a/docs/obs/api-ref/obs_04_0033.html b/docs/obs/api-ref/obs_04_0033.html index 4bf21377..5a86919f 100644 --- a/docs/obs/api-ref/obs_04_0033.html +++ b/docs/obs/api-ref/obs_04_0033.html @@ -116,7 +116,7 @@ Content-Length: length

      Logging permission granted to the grantee for a bucket. The bucket owner is automatically granted the FULL_CONTROL permission when creating the bucket. Logging permissions control access to different logs.

      Type: string

      -

      Value options: FULL_CONTROL | READ | WRITE

      +

      Value options: FULL_CONTROL, READ, WRITE

      TargetBucket

      diff --git a/docs/obs/api-ref/obs_04_0034.html b/docs/obs/api-ref/obs_04_0034.html index 4d0425b6..7b007a30 100644 --- a/docs/obs/api-ref/obs_04_0034.html +++ b/docs/obs/api-ref/obs_04_0034.html @@ -4,7 +4,7 @@

      Functions

      This operation configures lifecycle rules that can delete or migrate objects from a bucket at a specified time. Typical application scenarios:

      • Delete periodically uploaded files. Some files uploaded periodically need only to be retained for only one week or one month.
      • Delete files that are frequently accessed within a certain period of time but are seldom accessed afterward. You can archive these files and then schedule the time for deletion.
      • The minimum time for the transition of the bucket storage to Warm or to Cold can be configured. The value ranges from 24 to 8640.

      You can perform this operation to create or update the lifecycle configuration of a bucket.

      -
      • Expired objects deleted based on a lifecycle rule cannot be recovered.
      +
      • Expired objects deleted based on a lifecycle rule cannot be recovered.

      To perform this operation, you must have the PutLifecycleConfiguration permission. By default, only the bucket owner can perform this operation. The bucket owner can grant the permission to other users by configuring the bucket policy or user policy.

      The lifecycle configuration enables OBS to delete objects and transition object storage classes at a scheduled time. To prevent a user from doing so, the following permissions granted to the user must be revoked:

      @@ -118,12 +118,12 @@ Content-MD5: MD5

      Request Elements

      In this request, you need to specify the lifecycle configuration in the request body. The lifecycle configuration can be uploaded in the form of an XML file with elements described in Table 2.

      -
      • If the versioning of a bucket is enabled or suspended, you can set NoncurrentVersionTransition or NoncurrentVersionExpiration to control the lifecycle of historical object versions. The lifecycle of a historical version depends on the time when it becomes a historical one (time when the version is replaced by a new version) and the value of NoncurrentDays. For object deletion, if NoncurrentDays is set to 1, an object version will be deleted only after it becomes a historical one for one day. If the version V1 of object A is created on the first date of a month and new version V2 is uploaded on the fifth date of the month, V1 becomes a historical version. At 00:00 on the seventh date of the month, V1 will expire. If an object version does not meet the deletion conditions, but NoncurrentDays is set to 1 and StorageClass is set to WARM, the version transitions to the Warm storage class one day after it has become a historical version. For example, the V1 version of object A is created on the first day of a month, and its new version V2 is uploaded on the fifth day of the month. Then V1 becomes a historical version. One day later, that is, at 0 o'clock of the seventh day, V1 transitions to the Warm storage class. The deletion or transition of the object after the expiration time may be delayed. The delay is within 48 hours.
      • Objects are processed according to the following procedures, if their latest versions meet the expiration rule and versioning is enabled or suspended for the bucket.
        • Versioning enabled:

          If the latest version of the object does not have the DeleteMarker, the object generates a new DeleteMarker.

          -

          If the object of the latest version has the DeleteMarker and the object has this version only, this version will be deleted.

          +
          • If the versioning of a bucket is enabled or suspended, you can set NoncurrentVersionTransition or NoncurrentVersionExpiration to control the lifecycle of historical object versions. The lifecycle of a historical version depends on the time when it becomes a historical one (time when the version is replaced by a new version) and the value of NoncurrentDays. For object deletion, if NoncurrentDays is set to 1, an object version will be deleted only after it becomes a historical one for one day. If the version V1 of object A is created on the first date of a month and new version V2 is uploaded on the fifth date of the month, V1 becomes a historical version. At 00:00 on the seventh date of the month, V1 will expire. If an object version does not meet the deletion conditions, but NoncurrentDays is set to 1 and StorageClass is set to WARM, the version transitions to the Warm storage class one day after it has become a historical version. For example, the V1 version of object A is created on the first day of a month, and its new version V2 is uploaded on the fifth day of the month. Then V1 becomes a historical version. One day later, that is, at 0 o'clock of the seventh day, V1 transitions to the Warm storage class. The deletion or transition of the object after the expiration time may be delayed. The delay is within 48 hours.
          • Objects are processed according to the following procedures, if their latest versions meet the expiration rule and versioning is enabled or suspended for the bucket.
            • Versioning enabled:

              If the latest object version is not a delete marker, a new delete marker will be inserted for the object.

              +

              If the latest object version is a delete marker and is the only version of the object, this latest version will be deleted.

              If the object of the latest version has the DeleteMarker and the object has other versions, all versions of the object remain unchanged.

            • Versioning suspended:

              If the latest version of the object does not have the DeleteMarker and is not the null version, the object generates a new DeleteMarker for the null version.

              If the latest version of the object does not have the DeleteMarker but is the null version, this null version is overwritten by a new DeleteMarker generated for the null version.

              -

              If the object of the latest version has the DeleteMarker and the object has this version only, this version will be deleted.

              +

              If the latest object version is a delete marker and is the only version of the object, this latest version will be deleted.

              If the object of the latest version has the DeleteMarker and the object has other versions, all versions of the object remain unchanged.

          • The following lists the processing when the versioning is enabled or suspended for a bucket and objects of the latest versions meet the transition rules:
            • If the latest version of the object has the DeleteMarker, the storage class of this version will not be transitioned.
            • If the latest version of the object does not have the DeleteMarker and meets the transition rule, the storage class of this version will be transitioned.
            @@ -139,7 +139,7 @@ Content-MD5: MD5

      Date

      Specifies that OBS executes lifecycle rules for objects before the specified date. The date must be compliant with the ISO8601 format, and the time must be compliant with the UTC format of 00:00:00. For example: 2018-01-01T00:00:00.000Z, which indicates that objects whose last modification time is earlier than 2018-01-01T00:00:00.000Z are deleted or transitioned to other storage classes. Objects whose last modification time is equal to or later than the specified time are not deleted or dumped.

      +

      Specifies that OBS executes lifecycle rules for objects before the specified date. The date must be compliant with the ISO8601 format, and the time must be compliant with the UTC format of 00:00:00. For example, 2018-01-01T00:00:00.000Z indicates that objects whose last modification time is earlier than 2018-01-01T00:00:00.000Z are deleted or transitioned to another storage class. Objects whose last modification time is equal to or later than the specified time are not deleted or transitioned to another storage class.

      Type: string

      Ancestor node: Expiration, Transition

      The storage class to which the object is transitioned.

      Type: string

      -

      Value options: WARM or COLD

      +

      Value options: WARM, COLD

      Ancestor node: Transition, NoncurrentVersionTransition

      Required if the Transition or NoncurrentVersionTransition element is present.

      @@ -220,7 +220,7 @@ Content-MD5: MD5

      Children node: NoncurrentDays, StorageClass

      Ancestor node: Rule

      Required if the Transition, Expiration, AbortIncompleteMultipartUpload, or NoncurrentVersionExpiration element is absent.

      +

      Required if the Transition, Expiration, AbortIncompleteMultipartUpload, or NoncurrentVersionExpiration element is absent.

      NoncurrentVersionExpiration

      @@ -279,7 +279,7 @@ Content-MD5: MD5

      Indicates whether the rule is enabled.

      Type: string

      Ancestor node: Rule

      -

      Value options: Enabled, Disabled

      +

      Value options: Enabled, Disabled

      Yes

      Date

      Specifies that OBS executes lifecycle rules for objects before the specified date. The date must be compliant with the ISO8601 format, and the time must be compliant with the UTC format of 00:00:00. For example: 2018-01-01T00:00:00.000Z, which indicates that objects whose last modification time is earlier than 2018-01-01T00:00:00.000Z are deleted or transitioned to other storage classes. Objects whose last modification time is equal to or later than the specified time are not deleted or dumped.

      +

      Specifies that OBS executes lifecycle rules for objects before the specified date. The date must be compliant with the ISO8601 format, and the time must be compliant with the UTC format of 00:00:00. For example, 2018-01-01T00:00:00.000Z indicates that objects whose last modification time is earlier than 2018-01-01T00:00:00.000Z are deleted or transitioned to another storage class. Objects whose last modification time is equal to or later than the specified time are not deleted or transitioned to another storage class.

      Type: string

      Ancestor node: Expiration, Transition

      The storage class to which the object is transitioned.

      Type: string

      -

      Value options: WARM or COLD

      +

      Value options: WARM, COLD

      Ancestor node: Transition, NoncurrentVersionTransition

      Indicates whether the rule is enabled.

      Type: string

      Ancestor node: Rule

      -

      Value options: Enabled, Disabled

      +

      Value options: Enabled, Disabled

      Versioning status of the bucket

      Type: string

      Ancestor node: VersioningConfiguration

      -

      Value options: Enabled, Suspended

      +

      Value options: Enabled, Suspended

      Yes

      Versioning status of the bucket.

      Type: string

      -

      Value options: Enabled, Suspended

      +

      Value options: Enabled, Suspended

      Prefix or suffix of object names for filtering

      Type: string

      Ancestor: FilterRule

      -

      Value options: prefix, suffix

      +

      Value options: prefix, suffix

      No

      Prefix or suffix of object names for filtering

      Type: string

      Ancestor: FilterRule

      -

      Value options: prefix, suffix

      +

      Value options: prefix, suffix

      Value

      diff --git a/docs/obs/api-ref/obs_04_0044.html b/docs/obs/api-ref/obs_04_0044.html index dfbb9095..b70ba3aa 100644 --- a/docs/obs/api-ref/obs_04_0044.html +++ b/docs/obs/api-ref/obs_04_0044.html @@ -45,7 +45,7 @@ Authorization: authorization

      Specifies the default storage class for a bucket.

      Type: string

      -

      Value options: STANDARD | WARM | COLD

      +

      Value options: STANDARD, WARM, COLD

      The available storage classes include Standard (STANDARD), Warm (WARM), and Cold (COLD).

      Yes

      diff --git a/docs/obs/api-ref/obs_04_0046.html b/docs/obs/api-ref/obs_04_0046.html index fdb55a65..dd9e8cbe 100644 --- a/docs/obs/api-ref/obs_04_0046.html +++ b/docs/obs/api-ref/obs_04_0046.html @@ -167,7 +167,7 @@ Content-Length: contentlength

      Storage class of an object

      Type: string

      Ancestor: Destination

      -

      Value options: STANDARD | WARM | COLD

      +

      Value options: STANDARD, WARM, COLD

      No

      If the value of this element is Disabled, this rule will be ignored.

      Type: string

      Ancestor: Rule

      -

      Value options: Enabled and Disabled

      +

      Value options: Enabled, Disabled

      Prefix

      @@ -139,7 +139,7 @@ Content-Length: contentlength

      Storage class of an object.

      Type: string

      Ancestor: Destination

      -

      Value options: STANDARD | WARM | COLD

      +

      Value options: STANDARD, WARM, COLD

      DeleteData

      diff --git a/docs/obs/api-ref/obs_04_0051.html b/docs/obs/api-ref/obs_04_0051.html index 8a3c0c07..2967d42d 100644 --- a/docs/obs/api-ref/obs_04_0051.html +++ b/docs/obs/api-ref/obs_04_0051.html @@ -2,7 +2,7 @@

      Deleting Tags

      Functions

      This operation deletes the tags of a bucket.

      -

      To perform this operation, you must have the PutBucketTagging permission. By default, only the bucket owner can delete the tags of a bucket. The bucket owner can allow other users to perform this operation by setting a bucket policy or granting them the permission.

      +

      To perform this operation, you must have the DeleteBucketTagging permission. By default, only the bucket owner can delete the tags of a bucket. The bucket owner can allow other users to perform this operation by setting a bucket policy or granting them the permission.

      Request Syntax

      diff --git a/docs/obs/api-ref/obs_04_0077.html b/docs/obs/api-ref/obs_04_0077.html index 57ef01d6..43c4c123 100644 --- a/docs/obs/api-ref/obs_04_0077.html +++ b/docs/obs/api-ref/obs_04_0077.html @@ -48,7 +48,7 @@ Access-Control-Request-Method: method @@ -118,7 +118,7 @@ Content-Length: length @@ -116,7 +116,7 @@ Content-Length: length - @@ -81,7 +81,7 @@ Date: date - @@ -90,7 +90,7 @@ Date: date - @@ -99,7 +99,7 @@ Date: date - @@ -118,9 +118,10 @@ Date: date - @@ -150,7 +151,7 @@ Date: date - - diff --git a/docs/obs/api-ref/obs_04_0081.html b/docs/obs/api-ref/obs_04_0081.html index ec06ee17..8cceb329 100644 --- a/docs/obs/api-ref/obs_04_0081.html +++ b/docs/obs/api-ref/obs_04_0081.html @@ -175,7 +175,7 @@ Upload to OBS - @@ -231,7 +231,7 @@ Upload to OBS @@ -242,7 +242,7 @@ Upload to OBS @@ -253,7 +253,7 @@ Upload to OBS @@ -264,7 +264,7 @@ Upload to OBS @@ -275,7 +275,7 @@ Upload to OBS @@ -287,7 +287,7 @@ Upload to OBS

      When creating an object, you can use this header to specify the storage class for the object. If you do not use this header, the object storage class is the default storage class of the bucket.

      Type: string

      Storage class value options: STANDARD (Standard), WARM (Warm), COLD (Cold). These values are case sensitive.

      -

      An example is provided as follows:

      +

      Examples:

      In POLICY: {"storage-class": "STANDARD" },

      In HTML: <input type="text" name="x-obs-storage-class" value="STANDARD" />

      @@ -302,7 +302,7 @@ Upload to OBS
      @@ -314,7 +314,7 @@ Upload to OBS

      Indicates the address (URL) to which a successfully responded request is redirected.

      • If the value is valid and the request is successful, OBS returns status code 303. Location contains success_action_redirect as well as the bucket name, object name, and object ETag.
      • If this parameter value is invalid, OBS ignores this parameter. In such case, the Location header is the object address, and OBS returns the response code based on whether the operation succeeds or fails.

      Type: string

      -

      An example is provided as follows:

      +

      Examples:

      In POLICY: {"success_action_redirect": "http://123458.com"},

      In HTML: <input type="text" name="success_action_redirect" value="http://123458.com" />

      @@ -323,9 +323,9 @@ Upload to OBS
      - @@ -337,7 +337,7 @@ Upload to OBS

      Indicates the status code returned after the request is successfully received. Possible values are 200, 201, and 204.

      • If this parameter is set to 200 or 204, the body in the OBS response message is empty.
      • If this parameter is set to 201, the OBS response message contains an XML document that describes the response to the request.
      • If the value is not set or if it is set to an invalid value, the OBS returns an empty document with a 204 status code.

      Type: string

      -

      An example is provided as follows:

      +

      Examples:

      In POLICY: ["starts-with", "$success_action_status", ""],

      In HTML: <input type="text" name="success_action_status" value="200" />

      @@ -364,13 +364,13 @@ Upload to OBS
      - @@ -470,7 +470,7 @@ ETag: etag - @@ -29,8 +29,8 @@ Authorization: auth - - - - - - - - - - - @@ -204,14 +204,14 @@ Content-Length: length - - - @@ -241,7 +241,7 @@ Content-Length: length - diff --git a/docs/obs/api-ref/obs_04_0113.html b/docs/obs/api-ref/obs_04_0113.html index 4903b2be..a93e7aed 100644 --- a/docs/obs/api-ref/obs_04_0113.html +++ b/docs/obs/api-ref/obs_04_0113.html @@ -6,8 +6,6 @@ + + + + + + + + + + - @@ -251,7 +252,7 @@ Content-Length: length
      1
       2
      diff --git a/docs/obs/api-ref/obs_04_0053.html b/docs/obs/api-ref/obs_04_0053.html
      index 85634a10..e77131d7 100644
      --- a/docs/obs/api-ref/obs_04_0053.html
      +++ b/docs/obs/api-ref/obs_04_0053.html
      @@ -1,7 +1,7 @@
       
       
       

      Querying Bucket Storage Quota

      -

      Functions

      Only the bucket owner can query information about the bucket storage quota. However, an inactive owner is not allowed to get the bucket quota. The bucket storage quota is measured by byte. 0 indicates that no upper limit is set.

      +

      Functions

      A bucket owner can query the bucket storage quota, but a bucket owner who is frozen due to arrears cannot. The bucket storage quota is measured by byte. 0 indicates that no upper limit is set.

      Request Syntax

      diff --git a/docs/obs/api-ref/obs_04_0063.html b/docs/obs/api-ref/obs_04_0063.html index b0af75ad..2c9b906e 100644 --- a/docs/obs/api-ref/obs_04_0063.html +++ b/docs/obs/api-ref/obs_04_0063.html @@ -100,7 +100,7 @@ Date: date diff --git a/docs/obs/api-ref/obs_04_0068.html b/docs/obs/api-ref/obs_04_0068.html new file mode 100644 index 00000000..bf7149a7 --- /dev/null +++ b/docs/obs/api-ref/obs_04_0068.html @@ -0,0 +1,128 @@ + + +

      Configuring the Requester-Pays Function for a Bucket

      +

      Functions

      The requester-pays configuration allows the requester to pay for data transfer and API calls associated with accessing the requested OBS resources, while the bucket owner only pays for data storage.

      +

        To access a requester-pays bucket, users (except the bucket owner and IAM users under the same account as the bucket owner) must add the x-obs-request-payer: requester header in the request, indicating that the requester agrees to pay for the request and traffic. If this header is not included in the request, the authentication fails and error "403 Forbidden" is returned. If the response returned by the server includes the x-obs-request-charged: requester header, the requester is billed for the request. This rule is applicable to all API requests against requester-pays buckets.

        +
        +
      +
      +

      Request Syntax

      1
       2
      diff --git a/docs/obs/api-ref/obs_04_0062.html b/docs/obs/api-ref/obs_04_0062.html
      index d77fa143..75af0837 100644
      --- a/docs/obs/api-ref/obs_04_0062.html
      +++ b/docs/obs/api-ref/obs_04_0062.html
      @@ -90,7 +90,7 @@ Content-Length: length
       

      Server-side encryption algorithm used for the default encryption configuration of a bucket.

      Type: string

      -

      Valid values: kms

      +

      Value options: kms

      Ancestor: ApplyServerSideEncryptionByDefault

      Yes

      @@ -101,7 +101,7 @@ Content-Length: length

      Customer master key (CMK) used in SSE-KMS encryption mode. If you do not specify this header, the default master key will be used.

      Type: string

      Valid value formats are as follows:

      -
      1. regionID:domainID (account ID):key/key_id
      2. key_id
      +
      1. regionID:domainID (account ID):key/key_id
      2. key_id

      In the preceding formats:

      • regionID indicates the ID of the region where the key resides.
      • domainID indicates the ID of the domain to which the key belongs. For details, see Obtaining the Domain ID and User ID.
      • key_id indicates the ID of the key created inKMS.

      Ancestor: ApplyServerSideEncryptionByDefault

      @@ -113,7 +113,7 @@ Content-Length: length

      ID of the project to which the KMS master key belongs in the SSE-KMS mode.

      Type: string

      -

      Valid values:

      +

      Value options:

      1. Project ID that matches KMSMasterKeyID.
      2. If KMSMasterKeyID is not specified, do not set the project ID.

      Ancestor: ApplyServerSideEncryptionByDefault

      The server-side encryption algorithm used for encryption configuration of a bucket.

      Type: string

      -

      Valid value: kms

      +

      Value options: kms

      Ancestor: ApplyServerSideEncryptionByDefault

      1
      +2
      +3
      +4
      +5
      +6
      +7
      +8
      +9
      PUT /?requestPayment HTTP/1.1 
      +Host: bucketname.obs.region.example.com
      +Date: date
      +Authorization: authorization
      +Content-Length: length
      +
      +<RequestPaymentConfiguration> 
      +    <Payer>Payer</Payer>
      +</RequestPaymentConfiguration>
      +
      + +
      +
      +

      Request Parameters

      This request contains no message parameters.

      +
      +

      Request Headers

      This request uses common headers. For details, see Table 3.

      +
      +

      Request Elements

      This request contains elements that specify the requester-pays configuration for the bucket. Configuration information is uploaded in the XML format. The following table lists request elements.

      + +
      + + + + + + + + + + + + + +
      Table 1 Elements for configuring the requester-pays function

      Element

      +

      Description

      +

      Mandatory

      +

      RequestPaymentConfiguration

      +

      Root node of the requester-pays configuration.

      +

      Ancestor: none

      +

      Yes

      +

      Payer

      +

      Specifies who pays for accessing resources in the bucket.

      +

      Type: string

      +

      Ancestor: RequestPaymentConfiguration

      +

      Value options:

      +
      • BucketOwner: The bucket owner pays all fees associated with the bucket.
      • Requester: The requester pays for data transfer and API calls associated with accessing resources in the bucket, while the bucket owner pays for data storage in the bucket.
      +

      Yes

      +
      +
      +
      +

      Response Syntax

      1
      +2
      +3
      HTTP/1.1 status_code
      +Date: date
      +Content-Length: length
      +
      + +
      +
      +

      Response Headers

      The response to the request uses common headers. For details, see Table 1.

      +
      +

      Response Elements

      This response involves no elements.

      +
      +

      Error Responses

      No special error responses are returned. For details about error responses, see Table 2.

      +
      +

      Sample Request

       1
      + 2
      + 3
      + 4
      + 5
      + 6
      + 7
      + 8
      + 9
      +10
      PUT/?requestPayment HTTP/1.1
      +User-Agent: curl/7.29.0
      +Host: examplebucket.obs.region.example.com
      +Accept: */*
      +Date: Tue, 03 Mar 2020 12:07:05 GMT
      +Authorization: OBS H4IPJX0TQTHTHEBQQCEC:5DGAS7SBbMC1YTC4tNXY57Zl2Fo=
      +
      +<RequestPaymentConfiguration> 
      +    <Payer>Requester</Payer>
      +</RequestPaymentConfiguration>
      +
      + +
      +
      +

      Sample Response

      1
      +2
      +3
      +4
      +5
      +6
      +7
      HTTP/1.1 200 OK
      +Server: OBS
      +x-obs-request-id: 0000016A6C21AD79654C09D9AA45EB5D
      +x-obs-id-2: 32AAAQAAEAABAAAQAAEAABAAAQAAEAABCSmfq4hegf1QZv8/ewfveE4B566v5DZ8
      +Content-Type: application/xml
      +Date: Tue, 30 Apr 2019 02:45:07 GMT
      +Content-Length: 0
      +
      + +
      +
      +
      +
      + +
      + diff --git a/docs/obs/api-ref/obs_04_0069.html b/docs/obs/api-ref/obs_04_0069.html new file mode 100644 index 00000000..eea72c48 --- /dev/null +++ b/docs/obs/api-ref/obs_04_0069.html @@ -0,0 +1,125 @@ + + +

      Obtaining the Requester-Pays Configuration Information of a Bucket

      +

      Functions

      This API obtains the requester-pays configuration information of a bucket.

      +
      +

      Request Syntax

      1
      +2
      +3
      +4
      +5
      GET /?requestPayment HTTP/1.1 
      +Host: bucketname.obs.region.example.com
      +Date: date
      +Authorization: authorization
      +Content-Length: length
      +
      + +
      +
      +

      Request Parameters

      This request contains no message parameters.

      +
      +

      Request Headers

      This request uses common headers. For details, see Table 3.

      +
      +

      Request Elements

      This request involves no elements.

      +
      +

      Response Syntax

      1
      +2
      +3
      +4
      +5
      +6
      +7
      +8
      +9
      HTTP/1.1 status_code
      +Content-Type: type
      +Date: date
      +Content-Length: length
      +
      +<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
      +<RequestPaymentConfiguration xmlns="http://obs.example.com/doc/2015-06-30/">
      +  <Payer>Payer</Payer>
      +</RequestPaymentConfiguration>
      +
      + +
      +
      +

      Response Headers

      The response to the request uses common headers. For details, see Table 1.

      +
      +

      Response Elements

      This response contains the following elements:

      + +
      + + + + + + + + + + +

      Element

      +

      Description

      +

      RequestPaymentConfiguration

      +

      Elements of the requester-pays configuration.

      +

      Type: container

      +

      Payer

      +

      Identifier of who pays for the bucket.

      +

      Type: string

      +

      Ancestor: RequestPaymentConfiguration

      +

      Value options:

      +
      • BucketOwner: The bucket owner pays all fees associated with the bucket.
      • Requester: The requester pays for data transfer and API calls associated with accessing resources in the bucket, while the bucket owner pays for data storage in the bucket.
      +
      +
      +
      +

      Error Responses

      No special error responses are returned. For details about error responses, see Table 2.

      +
      +

      Sample Request

      1
      +2
      +3
      +4
      +5
      +6
      GET /?requestPayment HTTP/1.1
      +User-Agent: curl/7.29.0
      +Host: examplebucket.obs.region.example.com
      +Accept: */*
      +Date: Tue, 03 Mar 2020 12:07:05 GMT
      +Authorization: OBS H4IPJX0TQTHTHEBQQCEC:5DGAS7SBbMC1YTC4tNXY57Zl2Fo=
      +
      + +
      +
      +

      Sample Response

       1
      + 2
      + 3
      + 4
      + 5
      + 6
      + 7
      + 8
      + 9
      +10
      +11
      +12
      HTTP/1.1 200 OK
      +Server: OBS
      +x-obs-request-id: 0000016A6C21AD79654C09D9AA45EB5D
      +x-obs-id-2: 32AAAQAAEAABAAAQAAEAABAAAQAAEAABCSmfq4hegf1QZv8/ewfveE4B566v5DZ8
      +Content-Type: application/xml
      +Date: Tue, 30 Apr 2019 02:45:07 GMT
      +Content-Length: 0
      +
      +<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
      +<RequestPaymentConfiguration xmlns="http://obs.example.com/doc/2015-06-30/">
      +  <Payer>Requester</Payer>
      +</RequestPaymentConfiguration>
      +
      + +
      +
      +
      +
      + +
      + diff --git a/docs/obs/api-ref/obs_04_0071.html b/docs/obs/api-ref/obs_04_0071.html index eff77ee1..3687f0c5 100644 --- a/docs/obs/api-ref/obs_04_0071.html +++ b/docs/obs/api-ref/obs_04_0071.html @@ -207,7 +207,7 @@ Authorization: authorization

      Protocol used in the redirection request

      Type: string

      Ancestor: Redirect

      -

      Value options: http, https

      +

      Value options: http, https

      Condition: Not required if one of the siblings is present.

      No

      diff --git a/docs/obs/api-ref/obs_04_0074.html b/docs/obs/api-ref/obs_04_0074.html index 8615095b..737f23d7 100644 --- a/docs/obs/api-ref/obs_04_0074.html +++ b/docs/obs/api-ref/obs_04_0074.html @@ -110,7 +110,7 @@ Content-MD5: MD5

      Method allowed by a CORS rule

      Type: string

      -

      Possible values are GET, PUT, HEAD, POST, and DELETE.

      +

      Value options: GET, PUT, HEAD, POST, DELETE

      Ancestor: CORSRule

      Yes

      diff --git a/docs/obs/api-ref/obs_04_0075.html b/docs/obs/api-ref/obs_04_0075.html index 24d23ed4..75a0206d 100644 --- a/docs/obs/api-ref/obs_04_0075.html +++ b/docs/obs/api-ref/obs_04_0075.html @@ -81,7 +81,7 @@ Content-Length: length

      Method allowed by a CORS rule.

      Type: string

      -

      Possible values are GET, PUT, HEAD, POST, and DELETE.

      +

      Value options: GET, PUT, HEAD, POST, DELETE

      Ancestor: CORSRule

      An HTTP method that can be used by a request. The request can use multiple method headers.

      Type: string

      -

      Possible values are GET, PUT, HEAD, POST, and DELETE.

      +

      Value options: GET, PUT, HEAD, POST, DELETE

      Yes

      If the Access-Control-Request-Method of a request meets server CORS configuration requirements, the response contains the methods in the rule.

      Type: string

      -

      Possible values are GET, PUT, HEAD, POST, and DELETE.

      +

      Value options: GET, PUT, HEAD, POST, DELETE

      Access-Control-Expose-Headers

      diff --git a/docs/obs/api-ref/obs_04_0078.html b/docs/obs/api-ref/obs_04_0078.html index 87913910..d4863153 100644 --- a/docs/obs/api-ref/obs_04_0078.html +++ b/docs/obs/api-ref/obs_04_0078.html @@ -46,7 +46,7 @@ Access-Control-Request-Method: method

      Indicates an HTTP method that can be used by a request. The request can use multiple method headers.

      Type: string

      -

      Valid values: GET, PUT, HEAD, POST, and DELETE.

      +

      Value options: GET, PUT, HEAD, POST, DELETE

      Yes

      If the Access-Control-Request-Method of a request meets server CORS configuration requirements, the response contains the methods in the rule.

      Type: string

      -

      Possible values are GET, PUT, HEAD, POST, and DELETE.

      +

      Value options: GET, PUT, HEAD, POST, DELETE

      Access-Control-Expose-Headers

      diff --git a/docs/obs/api-ref/obs_04_0080.html b/docs/obs/api-ref/obs_04_0080.html index 8cc3dbaf..87c597f0 100644 --- a/docs/obs/api-ref/obs_04_0080.html +++ b/docs/obs/api-ref/obs_04_0080.html @@ -1,7 +1,7 @@

      Uploading Objects - PUT

      -

      Functions

      After bucket creation in OBS, you can use this operation to upload an object to the bucket. Uploading an object adds it to a bucket. This requires users to have the write operation.

      +

      Functions

      After bucket creation in OBS, you can use this operation to upload an object to the bucket. This operation uploads an object to a bucket. To use this operation, you must have the write permission on the bucket.

      The name of each object in a bucket must be unique.

      With versioning not enabled, if an object to be uploaded has the same name as an existing object in the bucket, the newly uploaded object will overwrite the existing one. To protect data from being corrupted during transmission, you can add the Content-MD5 parameter in the request header. After receiving the request, OBS will perform an MD5 consistency check. If the two MD5 values are inconsistent, the system returns an error message.

      @@ -72,7 +72,7 @@ Date: date

      x-obs-grant-read

      When creating an object, you can use this header to authorize all users in an account the permission to read objects and obtain object metadata.

      +

      When creating an object, you can use this header to grant all users in an account the permissions to read objects and obtain object metadata.

      Type: string

      Example: x-obs-grant-read: id=domainID. If multiple accounts are authorized, separate them with commas (,).

      x-obs-grant-read-acp

      When creating an object, you can use this header to authorize all users in an account the permission to obtain the object ACL.

      +

      When creating an object, you can use this header to grant all users in an account the permissions to obtain the object ACL.

      Type: string

      Example: x-obs-grant-read-acp: id=domainID. If multiple accounts are authorized, separate them with commas (,).

      x-obs-grant-write-acp

      When creating an object, you can use this header to authorize all users in an account the permission to write the object ACL.

      +

      When creating an object, you can use this header to grant all users in an account the permission to write the object ACL.

      Type: string

      Example: x-obs-grant-write-acp: id=domainID. If multiple accounts are authorized, separate them with commas (,).

      x-obs-grant-full-control

      When creating an object, you can use this header to authorize all users in an account the permission to read the object, obtain the object metadata, obtain the object ACL, and write the object ACL.

      +

      When creating an object, you can use this header to grant all users in an account the permissions to read the object, obtain the object metadata, obtain the object ACL, and write the object ACL.

      Type: string

      Example: x-obs-grant-full-control: id=domainID. If multiple accounts are authorized, separate them with commas (,).

      x-obs-meta-*

      When creating an object, you can use a header starting with x-obs-meta- to define object metadata in an HTTP request. Custom metadata will be returned in the response header when you retrieve or query the metadata of the object.

      +

      When creating an object, you can use a header starting with x-obs-meta- to define object metadata in an HTTP request. The user-defined metadata will be returned in the response when you retrieve the object or query the object metadata.

      Type: string

      Example: x-obs-meta-test: test metadata

      +

      Constraint: Both user-defined metadata keys and their values must conform to US-ASCII standards.

      No

      x-obs-server-side-encryption-kms-key-id

      Master key ID. This header is used in SSE-KMS mode. If the customer does not provide the master key ID, the default master key ID will be used.

      +

      Master key ID. This header is used in SSE-KMS mode. If the customer does not provide the master key ID, the default master key ID will be used. If there is no such a default master key, the system will create one and use it by default.

      Type: string

      The following two formats are supported:

      1. regionID:domainID:key/key_id

      @@ -204,8 +205,8 @@ Date: date

      x-obs-expires

      Indicates the expiration time of an object, in days. An object will be automatically deleted once it expires (calculated from the last modification time of the object).

      -

      This field can be configured only when an object is uploaded and cannot be modified through the metadata modification API.

      +

      Specifies when an object expires. It is measured in days. An object will be automatically deleted once it expires. (The validity calculates from the object's creation time.)

      +

      You can configure this field when uploading an object or modify this field by using the metadata modification API after the object is uploaded.

      Type: integer

      Example: x-obs-expires:3

      file

      Indicates the content of the object to be uploaded.

      +

      Specifies the object content uploaded. Both the file name and file path are ignored and will not be used as the object name. The object name is the value of parameter key.

      Type: binary content or text

      Constraint: This parameter must be the last parameter in a form. Otherwise, parameters after this parameter will be all discarded. Additionally, each request contains only one file parameter.

      When creating an object, you can add this message header to set the permission control policy for the object. The predefined common policies are as follows: private, public-read, public-read-write, public-read-delivered, and public-read-write-delivered.

      Type: string

      -

      An example is provided as follows:

      +

      Examples:

      In POLICY: {"acl": "public-read" }

      In HTML: <input type="text" name="acl" value="public-read" />

      When creating an object, you can use this header to authorize all users in an account the permission to read objects and obtain object metadata.

      Type: string

      -

      An example is provided as follows:

      +

      Examples:

      In POLICY: {'grant-read': 'id=domainId1' },

      In HTML: <input type="text" name="grant-read" value="id=domainId1" />

      When creating an object, you can use this header to authorize all users in an account the permission to obtain the object ACL.

      Type: string

      -

      An example is provided as follows:

      +

      Examples:

      In POLICY: {"grant-read-acp": "id=domainId1" },

      In HTML: <input type="text" name="grant-read-acp" value="id=domainId1" />

      When creating an object, you can use this header to authorize all users in an account the permission to write the object ACL.

      Type: string

      -

      An example is provided as follows:

      +

      Examples:

      In POLICY: {"grant-write-acp": "id=domainId1" },

      In HTML: <input type="text" name="grant-write-acp" value="id=domainId1" />

      When creating an object, you can use this header to authorize all users in an account the permission to read the object, obtain the object metadata, obtain the object ACL, and write the object ACL.

      Type: string

      -

      An example is provided as follows:

      +

      Examples:

      In POLICY: {"grant-full-control": "id=domainId1" },

      In HTML: <input type="text" name="grant-full-control" value="id=domainId1" />

      Standard HTTP headers. OBS records those headers. If you download the object or send the HEAD Object request, those parameter values are returned.

      Type: string

      -

      An example is provided as follows:

      +

      Examples:

      In POLICY: ["starts-with", "$Content-Type", "text/"],

      In HTML: <input type="text" name="content-type" value="text/plain" />

      x-obs-meta-*

      Indicates user-defined metadata. When creating an object, you can use this header or a header starting with x-obs-meta- to define object metadata in an HTTP request. Custom metadata will be returned in the response header when you retrieve or query the metadata of the object.

      +

      Indicates user-defined metadata. When creating an object, you can use this header or a header starting with x-obs-meta- to define object metadata in an HTTP request. The user-defined metadata will be returned in the response when you retrieve the object or query the object metadata.

      Type: string

      -

      An example is provided as follows:

      +

      Examples:

      In POLICY: {" x-obs-meta-test ": " test metadata " },

      In HTML: <input type="text" name=" x-obs-meta-test " value=" test metadata " />

      x-obs-server-side-encryption-kms-key-id

      Master key ID. This header is used in SSE-KMS mode. If the customer does not provide the master key ID, the default master key ID will be used.

      +

      Master key ID. This header is used in SSE-KMS mode. If the customer does not provide the master key ID, the default master key ID will be used. If there is no such a default master key, the system will create one and use it by default.

      Type: string

      The following two formats are supported:

      1. regionID:domainID:key/key_id

      2. key_id

      regionID is the ID of the region to which the key belongs. domainID is the account ID of the tenant to which the key belongs. key_id is the key ID created in KMS.

      -

      Example:

      +

      Examples:

      1. x-obs-server-side-encryption-kms-key-id: region:domainiddomainiddomainiddoma0001:key/4f1cd4de-ab64-4807-920a-47fc42e7f0d0

      2. x-obs-server-side-encryption-kms-key-id:4f1cd4de-ab64-4807-920a-47fc42e7f0d0

      Indicates that methods in the rule are included in the response if Access-Control-Request-Method in the request meets the CORS configuration requirements when CORS is configured for buckets.

      Type: string

      -

      Possible values are GET, PUT, HEAD, POST, and DELETE.

      +

      Value options: GET, PUT, HEAD, POST, DELETE

      Access-Control-Expose-Headers

      @@ -563,7 +563,23 @@ ETag: etag 43 44 45 -46
      POST / HTTP/1.1
      +46
      +47
      +48
      +49
      +50
      +51
      +52
      +53
      +54
      +55
      +56
      +57
      +58
      +59
      +60
      +61
      +62
      POST / HTTP/1.1
       Date: WED, 01 Jul 2015 04:15:23 GMT
       Host: examplebucket.obs.region.example.com
       Content-Type: multipart/form-data; boundary=7db143f50da2
      @@ -600,6 +616,22 @@ Content-Disposition: form-data; na
       
       Vk6rwO0Nq09BLhvNSIYwSJTRQ+k=
       --7db143f50da2
      +Content-Disposition: form-data; name="x-obs-persistent-headers"
      + 
      +test:dmFsdWUx
      +--7db143f50da2
      +Content-Disposition: form-data; name="x-obs-grant-read"
      + 
      +id=52f24s3593as5730ea4f722483579xxx
      +--7db143f50da2
      +Content-Disposition: form-data; name="x-obs-server-side-encryption"
      + 
      +kms
      +--7db143f50da2
      +Content-Disposition: form-data; name="x-obs-website-redirect-location"
      + 
      +http://www.example.com/
      +--7db143f50da2
       Content-Disposition: form-data; name="file"; filename="C:\Testtools\UpLoadFiles\object\1024Bytes.txt"
       Content-Type: text/plain
       
      @@ -844,7 +876,7 @@ Upload to OBS
       
       
      -

      Sample Response 3

      The response to the authentication using a token

      +

      Sample Response 3

      Response to authentication with a token

      - - diff --git a/docs/obs/api-ref/obs_04_0084.html b/docs/obs/api-ref/obs_04_0084.html index 61290d61..681a4649 100644 --- a/docs/obs/api-ref/obs_04_0084.html +++ b/docs/obs/api-ref/obs_04_0084.html @@ -167,7 +167,7 @@ Last-Modified: time diff --git a/docs/obs/api-ref/obs_04_0089.html b/docs/obs/api-ref/obs_04_0089.html index dcaf93d9..330825be 100644 --- a/docs/obs/api-ref/obs_04_0089.html +++ b/docs/obs/api-ref/obs_04_0089.html @@ -135,7 +135,7 @@ Authorization: authorization - - @@ -68,7 +68,7 @@ Authorization: authorization - @@ -77,7 +77,7 @@ Authorization: authorization - @@ -86,7 +86,7 @@ Authorization: authorization - @@ -95,7 +95,7 @@ Authorization: authorization - - + + + +
      1
       2
       3
      @@ -862,6 +894,173 @@ Date: Fri,09Sep 2022

      Sample Request 4

      Configure the object expiration time.

      +
      POST / HTTP/1.1 
      +Date: WED, 01 Jul 2015 04:15:23 GMT 
      +Host: examplebucket.obs.region.example.com 
      +Content-Type: multipart/form-data; boundary=148828969260233905620870
      +Content-Length: 1639 
      +Origin: www.example.com 
      +Access-Control-Request-Headers:acc_header_1 
      + 
      +--148828969260233905620870 
      +Content-Disposition: form-data; name="key" 
      + 
      +object01
      +--148828969260233905620870
      +Content-Disposition: form-data; name="AwsAccessKeyId"
      + 
      +55445349414d5354554254455354303030303033
      +--148828969260233905620870
      +Content-Disposition: form-data; name="signature"
      + 
      +396246666f6f42793872792f7a3958524f6c44334e4e69763950553d--7db143f50da2 
      +--148828969260233905620870
      +Content-Disposition: form-data; name="policy" 
      + 
      +65794a6c65484270636d463061573975496a6f694d6a41794d7930774e6930784e565178...
      +--148828969260233905620870
      +Content-Disposition: form-data; name="x-obs-expires"
      + 
      +4
      +--148828969260233905620870
      +Content-Disposition: form-data; name="file"; filename="test.txt"
      +Content-Type: text/plain 
      + 
      +01234567890
      +--148828969260233905620870
      +Content-Disposition: form-data; name="submit" 
      + 
      +Upload 
      +--148828969260233905620870--
      +
      +

      Sample Response 4

      Response to the configuration of object expiration time

      +
       
      +HTTP/1.1 204 No Content 
      +Server: OBS 
      +Date: Thu, 15 Jun 2023 12:39:03 GMT
      +Connection: keep-alive
      +Location: http://examplebucket.obs.region.example.com/my-obs-object-key-demo 
      +x-obs-expiration: expiry-date="Tue, 20 Jun 2023 00:00:00 GMT"
      +ETag: "d41d8cd98f00b204e9800998ecf8427e"
      +x-obs-request-id: 00000188BF11049553064911000FC30D
      +x-obs-id-2: 32AAAUJAIAABAAAQAAEAABAAAQAAEAABCSwj2PcBE0YcoLHUDO7GSj+rVByzjflA 
      +x-forward-status: 0x40020000000001
      +x-dae-api-type: REST.POST.OBJECT
      +
      +

      Sample Request 5

      Set the status code of a successful action to 200.

      +
      POST /srcbucket HTTP/1.1
      +User-Agent: PostmanRuntime/7.26.8
      +Accept: */*
      +Postman-Token: 667dcc44-1c48-41ba-9e41-9f87d8975089
      +Host: obs.region.example.com
      +Accept-Encoding: gzip, deflate, br
      +Connection: keep-alive
      +Content-Type: multipart/form-data; boundary=--------------------------285613759795901770404350
      +Content-Length: 1134
      + 
      +----------------------------285613759795901770404350
      +Content-Disposition: form-data; name="key"
      + 
      +obj
      +----------------------------285613759795901770404350
      +Content-Disposition: form-data; name="AwsAccessKeyId"
      + 
      +XXXXXXXXXXXXXXX000003
      +----------------------------285613759795901770404350
      +Content-Disposition: form-data; name="signature"
      + 
      +9rc4bVhDPQ7eHtw17hWtYxLnBWU=
      +----------------------------285613759795901770404350
      +Content-Disposition: form-data; name="policy"
      + 
      +eyJleHBpcmF0aW9uIjoiMjAyMy0wNi0xNVQxNDoxMTozNFoiLCAiY29uZGl0aW9ucyI6W3siYnVja2V0Ijoic3JjYnVja2V0MiJ9LHsic3VjY2Vzc19hY3Rpb25fc3RhdHVzIjoiMjAwIn0seyJjb250ZW50LXR5cGUiOiJ0ZXh0L3BsYWluIn0seyJrZXkiOiIzMzMifSxdfQ==
      +----------------------------285613759795901770404350
      +Content-Disposition: form-data; name="success_action_status"
      + 
      +200
      +----------------------------285613759795901770404350
      +Content-Disposition: form-data; name="file"; filename="test.txt"
      +Content-Type: text/plain
      + 
      + 
      +----------------------------285613759795901770404350
      +Content-Disposition: form-data; name="submit"
      + 
      +Upload to OBS
      +----------------------------285613759795901770404350--
      +
      +

      Sample Response 5

      Response to the configuration of success status code 200

      +
      HTTP/1.1 200 OK
      +Server: OBS
      +Date: Thu, 15 Jun 2023 13:12:51 GMT
      +Content-Length: 0
      +Connection: keep-alive
      +Location: http://obs.region.example.com/srcbucket/obj
      +ETag: "d41d8cd98f00b204e9800998ecf8427e"
      +x-obs-request-id: 00000188BF2FF55F5306426E000FE366
      +x-obs-id-2: 32AAAUJAIAABAAAQAAEAABAAAQAAEAABCScDjcXgZ7oMYSVnZnk4+HrClVwLVPTi
      +x-forward-status: 0x40020000000001
      +x-dae-api-type: REST.POST.OBJECT
      +
      +

      Sample Request 6

      Configure a WORM retention policy when uploading an object.

      +
      POST /srcbucket HTTP/1.1
      +User-Agent: PostmanRuntime/7.26.8
      +Accept: */*
      +Postman-Token: 4c2f4c7e-2e0b-46c0-b1a7-4a5da560b6a1
      +Host: obs.region.example.com
      +Accept-Encoding: gzip, deflate, br
      +Connection: keep-alive
      +Content-Type: multipart/form-data; boundary=--------------------------940435396775653808840608
      +Content-Length: 1409
      + 
      +----------------------------940435396775653808840608
      +Content-Disposition: form-data; name="key"
      + 
      +obj
      +----------------------------940435396775653808840608
      +Content-Disposition: form-data; name="AwsAccessKeyId"
      + 
      +XXXXXXXXXXXXXXX000003
      +----------------------------940435396775653808840608
      +Content-Disposition: form-data; name="signature"
      + 
      +X/7QiyMYUvxUWk0R5fToeTcgMMU=
      +----------------------------940435396775653808840608
      +Content-Disposition: form-data; name="policy"
      + 
      +eyJleHBpcmF0aW9uIjoiMjAyMy0wNi0xNVQxNDoyMjo1MVoiLCAiY29uZGl0aW9ucyI6W3sieC1vYnMtb2JqZWN0LWxvY2stcmV0YWluLXVudGlsLWRhdGUiOiJUaHUsIDIwIEp1biAyMDIzIDEzOjEyOjUxIEdNVCJ9LHsieC1vYnMtb2JqZWN0LWxvY2stbW9kZSI6IkNPTVBMSUFOQ0UifSx7ImJ1Y2tldCI6InNyY2J1Y2tldDIifSx7ImNvbnRlbnQtdHlwZSI6InRleHQvcGxhaW4ifSx7ImtleSI6IjMzMyJ9LF19
      +----------------------------940435396775653808840608
      +Content-Disposition: form-data; name="x-obs-object-lock-mode"
      + 
      +COMPLIANCE
      +----------------------------940435396775653808840608
      +Content-Disposition: form-data; name="x-obs-object-lock-retain-until-date"
      + 
      +Thu, 20 Jun 2023 13:12:51 GMT
      +----------------------------940435396775653808840608
      +Content-Disposition: form-data; name="file"; filename="test.txt"
      +Content-Type: text/plain
      + 
      + 
      +----------------------------940435396775653808840608
      +Content-Disposition: form-data; name="submit"
      + 
      +Upload to OBS
      +----------------------------940435396775653808840608--
      +
      +

      Sample Response 6

      Response to an object-level WORM retention policy

      +
      HTTP/1.1 204 No Content
      +Server: OBS
      +Date: Thu, 15 Jun 2023 13:24:03 GMT
      +Connection: keep-alive
      +Location: http://obs.region.example.com/srcbucket/obj
      +ETag: "d41d8cd98f00b204e9800998ecf8427e"
      +x-obs-request-id: 00000188BF3A36EE5306427D000FEE0A
      +x-obs-id-2: 32AAAUJAIAABAAAQAAEAABAAAQAAEAABCS/5pj0p0hAQcDVI3B6E5y167zy4eAQv
      +x-forward-status: 0x40020000000001
      +x-dae-api-type: REST.POST.OBJECT
      +

      Indicates names of the source bucket and the source object. If the source object has multiple versions, the versionId parameter can be used to specify the desired version.

      Type: string

      -

      Constraint: URL encoding is required for handling Chinese characters.

      +

      Constraint: URL encoding is required for handling Chinese characters and %.

      Example: x-obs-copy-source: /source_bucket/sourceObject

      Yes

      @@ -184,7 +184,7 @@ Date: date

      x-obs-server-side-encryption-kms-key-id

      Indicates the master key ID of an encrypted object. This header is used in SSE-KMS mode. If the customer does not provide the master key ID, the default master key ID will be used.

      +

      Indicates the master key ID of an encrypted object. This header is used in SSE-KMS mode. If the customer does not provide the master key ID, the default master key ID will be used. If there is no such a default master key, the system will create one and use it by default.

      Type: string

      The following two formats are supported:

      1. regionID:domainID:key/key_id

      diff --git a/docs/obs/api-ref/obs_04_0083.html b/docs/obs/api-ref/obs_04_0083.html index 32cd20c3..2dcc9782 100644 --- a/docs/obs/api-ref/obs_04_0083.html +++ b/docs/obs/api-ref/obs_04_0083.html @@ -100,7 +100,7 @@ Range:bytes=byte_range

      attname

      Rewrites the Content-Disposition header in the response.

      +

      Rewrites the Content-Disposition header in the response.

      Type: string

      Example:

      attname=name1

      @@ -251,7 +251,7 @@ Last-Modified: time

      Indicates whether an object is a deletion marker. If the object is not marked as deleted, the response does not contain this header.

      Type: boolean

      -

      Valid values: true or false

      +

      Value options: true, false

      The default value is false.

      Indicates that methods in the rule are included in the response if Access-Control-Request-Method in the request meets the CORS configuration requirements when CORS is configured for buckets.

      Type: string

      -

      Possible values are GET, PUT, HEAD, POST, and DELETE.

      +

      Value options: GET, PUT, HEAD, POST, DELETE

      Access-Control-Expose-Headers

      diff --git a/docs/obs/api-ref/obs_04_0085.html b/docs/obs/api-ref/obs_04_0085.html index 27c14cda..c46b837a 100644 --- a/docs/obs/api-ref/obs_04_0085.html +++ b/docs/obs/api-ref/obs_04_0085.html @@ -65,7 +65,7 @@ Date: date

      Indicates whether an object is deleted. If the object is not marked as deleted, the response does not contain this header.

      Type: boolean

      -

      Valid values: true or false

      +

      Value options: true, false

      The default value is false.

      Permission

      Authorized permission.

      -

      Value options: READ | READ_ACP | WRITE_ACP | FULL_CONTROL

      +

      Value options: READ, READ_ACP, WRITE_ACP, FULL_CONTROL

      Type: string

      No

      diff --git a/docs/obs/api-ref/obs_04_0098.html b/docs/obs/api-ref/obs_04_0098.html index ad147dc6..8f405709 100644 --- a/docs/obs/api-ref/obs_04_0098.html +++ b/docs/obs/api-ref/obs_04_0098.html @@ -49,7 +49,7 @@ Authorization: authorization

      x-obs-acl

      When initializing a multipart upload task, you can add this message header to set the permission control policy for the object. The predefined common policies are as follows: private, public-read, and public-read-write.

      +

      When initiating a multipart upload, you can add this message header to set the permission control policy for the object. The predefined common policies are as follows: private, public-read, and public-read-write.

      Type: string

      Note: This header is a predefined policy expressed in a character string.

      Example: x-obs-acl: public-read-write

      @@ -59,7 +59,7 @@ Authorization: authorization

      x-obs-grant-read

      When initializing a multipart upload task, you can use this header to authorize all users in an account to read the object and obtain the object metadata.

      +

      When initiating a multipart upload, you can use this header to authorize all users in an account to read the object and obtain the object metadata.

      Type: string

      Example: x-obs-grant-read: ID=domainID If multiple accounts are authorized, separate them with commas (,).

      x-obs-grant-read-acp

      When initializing a multipart upload task, you can use this header to authorize all users in an account the permission to obtain the object ACL.

      +

      When initiating a multipart upload, you can use this header to authorize all users in an account the permission to obtain the object ACL.

      Type: string

      Example: x-obs-grant-read-acp: ID=domainID If multiple accounts are authorized, separate them with commas (,).

      x-obs-grant-write-acp

      When initializing a multipart upload task, you can use this header to authorize all users in an account the permission to write the object ACL.

      +

      When initiating a multipart upload, you can use this header to authorize all users in an account the permission to write the object ACL.

      Type: string

      Example: x-obs-grant-write-acp: ID=domainID If multiple accounts are authorized, separate them with commas (,).

      x-obs-grant-full-control

      When initializing a multipart upload task, you can use this header to authorize all users in an account the permission to read the object, obtain the object metadata, obtain the object ACL, and write the object ACL.

      +

      When initiating a multipart upload, you can use this header to authorize all users in an account to read the object, obtain the object metadata, obtain the object ACL, and write the object ACL.

      Type: string

      Example: x-obs-grant-full-control: ID=domainID If multiple accounts are authorized, separate them with commas (,).

      x-obs-storage-class

      When initiating a multi-part upload task, you can add this header to specify the storage class for the object. If you do not use this header, the object storage class is the default storage class of the bucket.

      +

      When initiating a multipart upload, you can add this header to specify the storage class for the object. If you do not use this header, the object storage class is the default storage class of the bucket.

      Type: string

      Storage class value options: STANDARD (Standard), WARM (Warm), COLD (Cold). These values are case sensitive.

      Example: x-obs-storage-class: STANDARD

      @@ -124,7 +124,7 @@ Authorization: authorization

      x-obs-server-side-encryption-kms-key-id

      Master key ID. This header is used in SSE-KMS mode. If the customer does not provide the master key ID, the default master key ID will be used.

      +

      Master key ID. This header is used in SSE-KMS mode. If the customer does not provide the master key ID, the default master key ID will be used. If there is no such a default master key, the system will create one and use it by default.

      Type: string

      The following two formats are supported:

      1. regionID:domainID:key/key_id

      @@ -176,6 +176,15 @@ Authorization: authorization

      No

      x-obs-meta-*

      +

      When initiating a multipart upload, you can use a header starting with x-obs-meta- in the HTTP request to define object metadata for easy management. The user-defined metadata will be returned in the response when you retrieve the object or query the object metadata.

      +

      Type: string

      +

      Example: x-obs-meta-test: test metadata

      +

      No

      +
      diff --git a/docs/obs/api-ref/obs_04_0101.html b/docs/obs/api-ref/obs_04_0101.html index cd00cd9e..aaf508a3 100644 --- a/docs/obs/api-ref/obs_04_0101.html +++ b/docs/obs/api-ref/obs_04_0101.html @@ -20,7 +20,7 @@ Authorization: auth

      uploadId

      Indicates a multipart upload ID.

      +

      ID of the multipart upload

      Type: string

      Default value: none

      max-parts

      Specifies the maximum number of parts to be listed.

      -

      Type: string

      +

      Maximum number of parts that can be listed

      +

      Type: integer

      Default value: 1000

      No

      @@ -39,8 +39,8 @@ Authorization: auth

      part-number

      -marker

      Indicates the part after which the part listing begins. OBS lists only parts with greater numbers than that specified by this parameter.

      -

      Type: string

      +

      Part after which the part listing begins. OBS lists only parts with greater numbers than that specified by this parameter.

      +

      Type: integer

      Default value: none

      No

      @@ -123,7 +123,7 @@ Content-Length: length

      ListPartsResult

      Indicates the container for responses to List Parts requests.

      +

      Container for responses to part listing requests

      Type: container

      Children: Bucket, Key, UploadId, PartNumberMarker, NextPartNumberMarker, MaxParts, IsTruncated, Part

      Ancestor: none

      @@ -131,28 +131,28 @@ Content-Length: length

      Bucket

      Indicates a bucket name.

      +

      Name of the bucket

      Type: string

      Ancestor: ListPartsResult

      Key

      Indicates an object name.

      +

      Object name

      Type: string

      Ancestor: ListPartsResult

      UploadId

      Indicates the ID of a multipart upload.

      +

      ID of the multipart upload

      Type: string

      Ancestor: ListPartsResult

      Initiator

      Indicates the initiator of a multipart upload.

      +

      Initiator of the multipart upload

      Type: container

      Children: ID

      Ancestor: ListPartsResult

      @@ -168,29 +168,29 @@ Content-Length: length

      ID

      ID of the domain to which the owner belongs

      +

      ID of the domain where the owner belongs

      Type: string

      Ancestor: Initiator or Owner

      StorageClass

      Indicates the storage type.

      +

      Storage class

      Type: string

      -

      Value options: STANDARD | WARM | COLD

      +

      Value options: STANDARD, WARM, COLD

      Ancestor: ListPartsResult

      PartNumberMarker

      Part number after which listing parts begins.

      +

      Part number after which listing parts begins

      Type: integer

      Ancestor: ListPartsResult

      NextPartNumberMarker

      Indicates the value of PartNumberMarker in the next request when the returned result is incomplete.

      +

      Value of PartNumberMarker in the next request when the returned result is incomplete

      Type: integer

      Ancestor: ListPartsResult

      IsTruncated

      Indicates whether the returned part list is truncated. true: Not all results are returned. false: All results have been returned.

      +

      Whether the returned part list is truncated. true: Not all results are returned. false: All results have been returned.

      Type: boolean

      Ancestor: ListPartsResult

      Part

      Indicates the container for elements related to a particular part.

      +

      Container for elements related to a particular part.

      Type: string

      Children: PartNumber, LastModified, ETag, Size

      Ancestor: ListPartsResult

      @@ -227,7 +227,7 @@ Content-Length: length

      LastModified

      Indicates the date and time a part was uploaded.

      +

      When a part was uploaded

      Type: date

      Ancestor: ListPartsResult.Part

      Size

      Indicates the size of an uploaded part.

      +

      Size of an uploaded part

      Type: integer

      Ancestor: ListPartsResult.Part

      403 Forbidden

      +

      RequestPayerDenied

      +

      This is a requester-pays bucket.

      +

      Carry the header x-obs-request-payer: requester in the access request.

      +

      404 Not Found

      NoSuchBucket

      @@ -726,6 +735,15 @@ QUFBQUFBYmJiYmJiYmJD</HostId>

      The method is not allowed.

      405 Method Not Allowed

      +

      FsNotSupport

      +

      POSIX buckets do not support this API.

      +

      The method is not allowed.

      +

      408 Request Timeout

      RequestTimeout

      @@ -865,9 +883,4 @@ QUFBQUFBYmJiYmJiYmJD</HostId> -
      - -
      diff --git a/docs/obs/api-ref/obs_04_0116.html b/docs/obs/api-ref/obs_04_0116.html index 242aedb4..949cd949 100644 --- a/docs/obs/api-ref/obs_04_0116.html +++ b/docs/obs/api-ref/obs_04_0116.html @@ -2,7 +2,7 @@

      Obtaining Access Keys (AK/SK)

      When you call APIs, you need to use the AK and SK for authentication. To obtain the AK and SK, perform the following steps:

      -
      1. Log in to the console.
      2. Hover the cursor over the username in the upper right corner and choose My Credentials from the drop-down list.
      3. On the My Credentials page, click Manage Access Keys.
      4. Click Add Access Key.
      5. Enter the password for login.
      6. Enter the authentication code your email received.
      7. Click OK to download the access key file.

        Keep AKs and SKs properly to prevent information leakage.

        +
        1. Log in to the console.
        2. Click the login username in the upper right corner and choose My Credentials from the drop-down list.
        3. Choose Access Keys.
        4. Click Create Access Key.
        5. Enter the login password.
        6. Enter the verification code your mobile phone, or email received, and click OK.
        7. View the access key file that was automatically downloaded.

          Keep AKs and SKs properly to prevent information leakage.

        diff --git a/docs/obs/api-ref/obs_04_0160.html b/docs/obs/api-ref/obs_04_0160.html index 8e4efd71..09a1949b 100644 --- a/docs/obs/api-ref/obs_04_0160.html +++ b/docs/obs/api-ref/obs_04_0160.html @@ -61,6 +61,7 @@ Authorization: authorization

      Separator used to group object names. If a prefix is specified, objects with the same string from the prefix to the first delimiter are grouped into one CommonPrefixes. If no prefix is specified, objects with the same string from the first character to the first delimiter are grouped into one CommonPrefixes.

      For example, there are three objects (abcd, abcde, and bbcde) in a bucket. If delimiter is set to d and prefix is set to a, objects abcd and abcde are grouped into a CommonPrefixes with abcd as the prefix. If only delimiter is set to d, objects abcd and abcde are grouped into a CommonPrefixes with abcd as the prefix, and bbcde is grouped separately into another CommonPrefixes with bbcd as the prefix.

      +

      For a parallel file system, if this parameter is not specified, all the content in the directory is recursively listed by default, and subdirectories are also listed. In big data scenarios, parallel file systems usually have deep directory levels and each directory has a large number of files. In such case, you are advised to configure [delimiter=/] to list the content in the current directory, but not list subdirectories, thereby improving the listing efficiency.

      Type: string

      No

      @@ -172,7 +173,7 @@ Content-Length: length

      ETag

      Base64-encoded 128-bit MD5 digest of an object. ETag is the unique identifier of the object content. It can be used to determine whether the object content is changed. For example, if the ETag value is A when an object is uploaded, but this value has changed to B when the object is downloaded, it indicates that the object content has been changed. The ETag value is a hash of the object. The ETag reflects changes only to the object content, rather than its metadata. An uploaded object or copied object has a unique ETag after being encrypted using MD5. (If the object is encrypted on the server side, the ETag value is not the MD5 digest of the object, but the unique identifier calculated through server-side encryption.)

      +

      Base64-encoded 128-bit MD5 digest of an object. ETag is the unique identifier of the object content. It can be used to determine whether the object content is changed. For example, if the ETag value is A when an object is uploaded, but this value has changed to B when the object is downloaded, it indicates that the object content has been changed. The ETag value is a hash of the object. The ETag reflects changes to the object content, rather than the object metadata. An uploaded object or copied object has a unique ETag after being encrypted using MD5. (If the object is encrypted on the server side, the ETag value is not the MD5 digest of the object, but the unique identifier calculated through server-side encryption.)

      Type: string

      Ancestor: ListBucketResult.Contents

      Storage class of an object

      Type: string

      -

      Value options: STANDARD | WARM | COLD

      +

      Value options: STANDARD, WARM, COLD

      Ancestor: ListBucketResult.Contents