forked from docs/doc-exports
Reviewed-by: Sabelnikov, Dmitriy <dmitriy.sabelnikov@t-systems.com> Co-authored-by: weihongmin1 <weihongmin1@huawei.com> Co-committed-by: weihongmin1 <weihongmin1@huawei.com>
2201 lines
68 KiB
JSON
2201 lines
68 KiB
JSON
[
|
|
{
|
|
"dockw":"Node.js SDK Developer Guide"
|
|
},
|
|
{
|
|
"uri":"obs_29_0001.html",
|
|
"node_id":"obs_29_0001.xml",
|
|
"product_code":"obs",
|
|
"code":"1",
|
|
"des":"Latest version of OBS Node.js SDK: DownloadRecommended versions: Node 0.12.x, Node4.x, Node6.x, Node8.x, or Node10.xInterface changes: The following table describes the i",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Downloading an SDK,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Downloading an SDK",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0100.html",
|
|
"node_id":"obs_29_0100.xml",
|
|
"product_code":"obs",
|
|
"code":"2",
|
|
"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":"sdk-nodejs-devg",
|
|
"kw":"Getting Started",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Getting Started",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0101.html",
|
|
"node_id":"obs_29_0101.xml",
|
|
"product_code":"obs",
|
|
"code":"3",
|
|
"des":"Ensure that you are familiar with OBS basic concepts from Help Center, such as bucket, object, region, and AK and SK.You can see General Ways to Use ObsClient to learn ho",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Before You Start,Getting Started,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Before You Start",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0103.html",
|
|
"node_id":"obs_29_0103.xml",
|
|
"product_code":"obs",
|
|
"code":"4",
|
|
"des":"OBS uses access keys (AK and SK) for signature verification to ensure that only authorized accounts can access specified OBS resources. Detailed explanations are as follo",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Creating Access Keys,Getting Started,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Creating Access Keys",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0104.html",
|
|
"node_id":"obs_29_0104.xml",
|
|
"product_code":"obs",
|
|
"code":"5",
|
|
"des":"Download the recommended version from the Node.js's official website and install it.Download the latest version of Eclipse IDE for JavaScript and Web Developer from Eclip",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Preparing a Development Environment,Getting Started,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Preparing a Development Environment",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0105.html",
|
|
"node_id":"obs_29_0105.xml",
|
|
"product_code":"obs",
|
|
"code":"6",
|
|
"des":"The following procedures use OBS Node.js SDK of the latest version as an example.After the installation, the directory structure is similar to the following:├── examples├",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Installing the SDK,Getting Started,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Installing the SDK",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0106.html",
|
|
"node_id":"obs_29_0106.xml",
|
|
"product_code":"obs",
|
|
"code":"7",
|
|
"des":"You can click here to view the endpoints and regions enabled for OBS.The SDK allows you to pass endpoints with or without the protocol name. Suppose the endpoint you obta",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Obtaining Endpoints,Getting Started,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Obtaining Endpoints",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0107.html",
|
|
"node_id":"obs_29_0107.xml",
|
|
"product_code":"obs",
|
|
"code":"8",
|
|
"des":"Each time you want to send an HTTP/HTTPS request to OBS, you must create an instance ofObsClient. Sample code is as follows:JavaScript is an asynchronous programming lang",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Initializing an Instance of ObsClient,Getting Started,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Initializing an Instance of ObsClient",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0108.html",
|
|
"node_id":"obs_29_0108.xml",
|
|
"product_code":"obs",
|
|
"code":"9",
|
|
"des":"A bucket is a global namespace of OBS and is a data container. It functions as a root directory of a file system and can store objects. The following code shows how to cr",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Creating a Bucket,Getting Started,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Creating a Bucket",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0109.html",
|
|
"node_id":"obs_29_0109.xml",
|
|
"product_code":"obs",
|
|
"code":"10",
|
|
"des":"This example uploads string Hello OBS to bucket examplebucket as object example/objectname.The example code is as follows:For more information, see Object Upload Overview",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Uploading an Object,Getting Started,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Uploading an Object",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0110.html",
|
|
"node_id":"obs_29_0110.xml",
|
|
"product_code":"obs",
|
|
"code":"11",
|
|
"des":"This example downloads object example/objectname from bucket examplebucket.The example code is as follows:For more information, see Overview.",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Downloading an Object,Getting Started,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Downloading an Object",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0111.html",
|
|
"node_id":"obs_29_0111.xml",
|
|
"product_code":"obs",
|
|
"code":"12",
|
|
"des":"After objects are uploaded, you may want to view the objects contained in a bucket. Sample code is as follows:// Import the OBS library.\n// Use npm to install the client.",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Listing Objects,Getting Started,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Listing Objects",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0112.html",
|
|
"node_id":"obs_29_0112.xml",
|
|
"product_code":"obs",
|
|
"code":"13",
|
|
"des":"This example deletes object example/objectname from bucket examplebucket.The example code is as follows:For more information, see Deleting an Object.",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Deleting an Object,Getting Started,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Deleting an Object",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0113.html",
|
|
"node_id":"obs_29_0113.xml",
|
|
"product_code":"obs",
|
|
"code":"14",
|
|
"des":"ObsClient returns the results by using a callback function that contains two parameters in sequence: the exception information parameter and the SDK common result object ",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"General Ways to Use ObsClient,Getting Started,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"General Ways to Use ObsClient",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0200.html",
|
|
"node_id":"obs_29_0200.xml",
|
|
"product_code":"obs",
|
|
"code":"15",
|
|
"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":"sdk-nodejs-devg",
|
|
"kw":"Initialization",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Initialization",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0201.html",
|
|
"node_id":"obs_29_0201.xml",
|
|
"product_code":"obs",
|
|
"code":"16",
|
|
"des":"To use OBS, you need a valid pair of AK and SK for signature authentication.After obtaining the AK and SK, you can create an instance of ObsClient to call SDK APIs.For de",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Configuring Access Keys,Initialization,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Configuring Access Keys",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0202.html",
|
|
"node_id":"obs_29_0202.xml",
|
|
"product_code":"obs",
|
|
"code":"17",
|
|
"des":"ObsClient functions as the Node.js client for accessing OBS. It offers callers a series of APIs for interaction with OBS and is used for managing and operating resources,",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Creating an Instance of ObsClient,Initialization,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Creating an Instance of ObsClient",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0203.html",
|
|
"node_id":"obs_29_0203.xml",
|
|
"product_code":"obs",
|
|
"code":"18",
|
|
"des":"You can set the following initialization parameters to configure an instance of ObsClient.Parameters whose recommended value is N/A need to be set according to the actual",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Configuring an Instance of ObsClient,Initialization,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Configuring an Instance of ObsClient",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0204.html",
|
|
"node_id":"obs_29_0204.xml",
|
|
"product_code":"obs",
|
|
"code":"19",
|
|
"des":"OBS Node.js SDK provides the logging function based on Log4js. You can call ObsClient.initLog to enable and configure logging. The following is a code sample:The logging ",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Configuring SDK Logging,Initialization,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Configuring SDK Logging",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0300.html",
|
|
"node_id":"obs_29_0300.xml",
|
|
"product_code":"obs",
|
|
"code":"20",
|
|
"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":"sdk-nodejs-devg",
|
|
"kw":"Bucket Management",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Bucket Management",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0301.html",
|
|
"node_id":"obs_29_0301.xml",
|
|
"product_code":"obs",
|
|
"code":"21",
|
|
"des":"OBS buckets are containers for storing objects you upload to OBS. This API creates a bucket.When creating a bucket, you can also configure parameters such as the storage ",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Creating a Bucket,Bucket Management,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Creating a Bucket",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0302.html",
|
|
"node_id":"obs_29_0302.xml",
|
|
"product_code":"obs",
|
|
"code":"22",
|
|
"des":"OBS buckets are containers for storing objects you upload to OBS. This API returns a list of all buckets that meet the specified conditions in all regions of the current ",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Listing Buckets,Bucket Management,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Listing Buckets",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0304.html",
|
|
"node_id":"obs_29_0304.xml",
|
|
"product_code":"obs",
|
|
"code":"23",
|
|
"des":"This API checks whether a bucket exists. If an HTTP status code 200 is returned, the bucket exists. If 404 is returned, the bucket does not exist.To check whether a bucke",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Checking Whether a Bucket Exists,Bucket Management,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Checking Whether a Bucket Exists",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0303.html",
|
|
"node_id":"obs_29_0303.xml",
|
|
"product_code":"obs",
|
|
"code":"24",
|
|
"des":"This API deletes an empty bucket. You can delete buckets you no longer use to free up space. The name of a deleted bucket can be reused for another bucket at least 30 min",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Deleting a Bucket,Bucket Management,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Deleting a Bucket",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0305.html",
|
|
"node_id":"obs_29_0305.xml",
|
|
"product_code":"obs",
|
|
"code":"25",
|
|
"des":"This API returns information about a bucket, including the storage class, region, CORS rules, and redundancy policy.To obtain bucket metadata, you must be the bucket owne",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Obtaining Bucket Metadata,Bucket Management,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Obtaining Bucket Metadata",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0306.html",
|
|
"node_id":"obs_29_0306.xml",
|
|
"product_code":"obs",
|
|
"code":"26",
|
|
"des":"Access control lists (ACLs) allow resource owners to grant other accounts the permissions to access resources. By default, only the resource owner has full control over r",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Configuring a Bucket ACL,Bucket Management,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Configuring a Bucket ACL",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0307.html",
|
|
"node_id":"obs_29_0307.xml",
|
|
"product_code":"obs",
|
|
"code":"27",
|
|
"des":"Access control lists (ACLs) allow resource owners to grant other accounts the permissions to access resources. By default, only the resource owner has full control over r",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Obtaining a Bucket ACL,Bucket Management,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Obtaining a Bucket ACL",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0308.html",
|
|
"node_id":"obs_29_0308.xml",
|
|
"product_code":"obs",
|
|
"code":"28",
|
|
"des":"OBS provides access control over buckets. You can use an access policy to define whether a user can perform certain operations on a specific bucket. OBS access control ca",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Configuring a Bucket Policy,Bucket Management,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Configuring a Bucket Policy",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0309.html",
|
|
"node_id":"obs_29_0309.xml",
|
|
"product_code":"obs",
|
|
"code":"29",
|
|
"des":"OBS provides access control over buckets. You can use an access policy to define whether a user can perform certain operations on a specific bucket. OBS access control ca",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Obtaining the Policy of a Bucket,Bucket Management,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Obtaining the Policy of a Bucket",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0310.html",
|
|
"node_id":"obs_29_0310.xml",
|
|
"product_code":"obs",
|
|
"code":"30",
|
|
"des":"OBS provides access control over buckets. You can use an access policy to define whether a user can perform certain operations on a specific bucket. OBS access control ca",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Deleting a Bucket Policy,Bucket Management,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Deleting a Bucket Policy",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0311.html",
|
|
"node_id":"obs_29_0311.xml",
|
|
"product_code":"obs",
|
|
"code":"31",
|
|
"des":"This API returns the region of a bucket.To obtain the region of a bucket, you must be the bucket owner or have the required permission (obs:bucket:GetBucketLocation in IA",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Obtaining the Region of a Bucket,Bucket Management,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Obtaining the Region of a Bucket",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0312.html",
|
|
"node_id":"obs_29_0312.xml",
|
|
"product_code":"obs",
|
|
"code":"32",
|
|
"des":"This API returns the storage information on a bucket, including the number of objects and the space occupied by the objects in the bucket.OBS measures bucket storage stat",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Obtaining Storage Information of a Bucket,Bucket Management,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Obtaining Storage Information of a Bucket",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0313.html",
|
|
"node_id":"obs_29_0313.xml",
|
|
"product_code":"obs",
|
|
"code":"33",
|
|
"des":"A quota limits the maximum capacity allowed in a bucket. By default, there is no limit on the storage capacity of the entire OBS system or a single bucket, and any number",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Configuring a Storage Quota for a Bucket,Bucket Management,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Configuring a Storage Quota for a Bucket",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0314.html",
|
|
"node_id":"obs_29_0314.xml",
|
|
"product_code":"obs",
|
|
"code":"34",
|
|
"des":"This API returns the storage quota (upper limit of the storage capacity) of a bucket. If the quota is 0, there is no upper limit on the bucket capacity.A bucket storage q",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Obtaining the Storage Quota of a Bucket,Bucket Management,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Obtaining the Storage Quota of a Bucket",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0315.html",
|
|
"node_id":"obs_29_0315.xml",
|
|
"product_code":"obs",
|
|
"code":"35",
|
|
"des":"This API configures a storage class for a bucket. If you upload or copy objects to a bucket with a storage class configured or initiating a multipart upload for such a bu",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Configuring a Storage Class for a Bucket,Bucket Management,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Configuring a Storage Class for a Bucket",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0316.html",
|
|
"node_id":"obs_29_0316.xml",
|
|
"product_code":"obs",
|
|
"code":"36",
|
|
"des":"This API returns the storage class of a bucket.To obtain a bucket's storage class, you must be the bucket owner or have the required permission (obs:bucket:GetBucketStora",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Obtaining the Storage Class of a Bucket,Bucket Management,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Obtaining the Storage Class of a Bucket",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0400.html",
|
|
"node_id":"obs_29_0400.xml",
|
|
"product_code":"obs",
|
|
"code":"37",
|
|
"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":"sdk-nodejs-devg",
|
|
"kw":"Object Upload",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Object Upload",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0401.html",
|
|
"node_id":"obs_29_0401.xml",
|
|
"product_code":"obs",
|
|
"code":"38",
|
|
"des":"In OBS, objects are basic data units that users can perform operations on. OBS Node.js SDK provides abundant APIs for object upload in the following methods:Uploading an ",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Object Upload Overview,Object Upload,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Object Upload Overview",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0402.html",
|
|
"node_id":"obs_29_0402.xml",
|
|
"product_code":"obs",
|
|
"code":"39",
|
|
"des":"This API uploads an object to a bucket.To upload an object, you must be the bucket owner or have the required permission (obs:object:PutObject in IAM or PutObject in a bu",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Uploading an Object - Text-Based,Object Upload,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Uploading an Object - Text-Based",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0403.html",
|
|
"node_id":"obs_29_0403.xml",
|
|
"product_code":"obs",
|
|
"code":"40",
|
|
"des":"This API uploads an object to a bucket.To upload an object, you must be the bucket owner or have the required permission (obs:object:PutObject in IAM or PutObject in a bu",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Uploading an Object - Streaming,Object Upload,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Uploading an Object - Streaming",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0404.html",
|
|
"node_id":"obs_29_0404.xml",
|
|
"product_code":"obs",
|
|
"code":"41",
|
|
"des":"This API uploads an object to a bucket.To upload an object, you must be the bucket owner or have the required permission (obs:object:PutObject in IAM or PutObject in a bu",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Uploading an Object - File-Based,Object Upload,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Uploading an Object - File-Based",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0405.html",
|
|
"node_id":"obs_29_0405.xml",
|
|
"product_code":"obs",
|
|
"code":"42",
|
|
"des":"This API uploads a folder object to a bucket to make it easy to manage data stored in the bucket.To upload an object, you must be the bucket owner or have the required pe",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Creating a Folder,Object Upload,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Creating a Folder",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0406.html",
|
|
"node_id":"obs_29_0406.xml",
|
|
"product_code":"obs",
|
|
"code":"43",
|
|
"des":"Object metadata contains a set of name-value pairs that are used for describing and managing objects.Currently, only the system-defined metadata is supported. System-defi",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Configuring Object Metadata,Object Upload,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Configuring Object Metadata",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0407.html",
|
|
"node_id":"obs_29_0407.xml",
|
|
"product_code":"obs",
|
|
"code":"44",
|
|
"des":"When uploading an object or initiating a multipart upload, you can set an expiration time for the object using Expires. This method only supports setting the object expir",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Configuring a Lifecycle Rule When Uploading an Object,Object Upload,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Configuring a Lifecycle Rule When Uploading an Object",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0409.html",
|
|
"node_id":"obs_29_0409.xml",
|
|
"product_code":"obs",
|
|
"code":"45",
|
|
"des":"This API uploads a file or folder to an existing OBS bucket. You can upload text, pictures, videos, or any other types of files.This API adds data to the end of a specifi",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Uploading an Object - Append,Object Upload,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Uploading an Object - Append",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0411.html",
|
|
"node_id":"obs_29_0411.xml",
|
|
"product_code":"obs",
|
|
"code":"46",
|
|
"des":"The resumable upload is an encapsulated and enhanced version of the multipart upload used for dealing with possible upload failures of large files when the network connec",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Uploading an Object - Resumable,Object Upload,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Uploading an Object - Resumable",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0412.html",
|
|
"node_id":"obs_29_0412.xml",
|
|
"product_code":"obs",
|
|
"code":"47",
|
|
"des":"Performing a browser-based upload is to upload objects to a specified bucket in HTML form. The maximum size of an object is 5 GB.You can call ObsClient.createPostSignatur",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Uploading an Object - Browser-Based,Object Upload,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Uploading an Object - Browser-Based",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0500.html",
|
|
"node_id":"obs_29_0500.xml",
|
|
"product_code":"obs",
|
|
"code":"48",
|
|
"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":"sdk-nodejs-devg",
|
|
"kw":"Object Download",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Object Download",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0501.html",
|
|
"node_id":"obs_29_0501.xml",
|
|
"product_code":"obs",
|
|
"code":"49",
|
|
"des":"OBS Node.js SDK provides abundant APIs for downloading objects in the following modes:Downloading an Object - Text-BasedDownloading an Object - StreamingDownloading an Ob",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Overview,Object Download,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Overview",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0502.html",
|
|
"node_id":"obs_29_0502.xml",
|
|
"product_code":"obs",
|
|
"code":"50",
|
|
"des":"This API downloads an object as text from OBS to your local computer.To download an object, you must be the bucket owner or have the required permission (obs:object:GetOb",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Downloading an Object - Text-Based,Object Download,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Downloading an Object - Text-Based",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0503.html",
|
|
"node_id":"obs_29_0503.xml",
|
|
"product_code":"obs",
|
|
"code":"51",
|
|
"des":"This API downloads an object as a stream from OBS to your local computer.To download an object, you must be the bucket owner or have the required permission (obs:object:G",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Downloading an Object - Streaming,Object Download,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Downloading an Object - Streaming",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0504.html",
|
|
"node_id":"obs_29_0504.xml",
|
|
"product_code":"obs",
|
|
"code":"52",
|
|
"des":"This API downloads an object as a file from OBS to your local computer.To download an object, you must be the bucket owner or have the required permission (obs:object:Get",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Downloading an Object - File-Based,Object Download,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Downloading an Object - File-Based",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0505.html",
|
|
"node_id":"obs_29_0505.xml",
|
|
"product_code":"obs",
|
|
"code":"53",
|
|
"des":"This API downloads part of an object from OBS to your local computer. If the specified range is from 0 to 1,000, data from byte 0 to byte 1,000, 1,001 bytes in total, are",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Downloading an Object - Range-Based,Object Download,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Downloading an Object - Range-Based",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0506.html",
|
|
"node_id":"obs_29_0506.xml",
|
|
"product_code":"obs",
|
|
"code":"54",
|
|
"des":"This API downloads objects that meet specified conditions from OBS to a local computer.To download an object, you must be the bucket owner or have the required permission",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Downloading an Object - Conditional,Object Download,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Downloading an Object - Conditional",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0507.html",
|
|
"node_id":"obs_29_0507.xml",
|
|
"product_code":"obs",
|
|
"code":"55",
|
|
"des":"When downloading an object, you can rewrite some HTTP/HTTPS response headers. The following table lists rewritable response headers.This code example rewrites response he",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Rewriting Response Headers,Object Download,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Rewriting Response Headers",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0509.html",
|
|
"node_id":"obs_29_0509.xml",
|
|
"product_code":"obs",
|
|
"code":"56",
|
|
"des":"To prolong the validity period of the Cold data restored, you can repeatedly restore the data, but you will be billed for each restoration. After a second restore, the va",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Downloading a Cold Object,Object Download,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Downloading a Cold Object",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0510.html",
|
|
"node_id":"obs_29_0510.xml",
|
|
"product_code":"obs",
|
|
"code":"57",
|
|
"des":"The API for resumable download is an encapsulated and enhanced version of range-based download. Downloading large files often fails due to an unstable network or program ",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Downloading an Object - Resumable,Object Download,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Downloading an Object - Resumable",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0600.html",
|
|
"node_id":"obs_29_0600.xml",
|
|
"product_code":"obs",
|
|
"code":"58",
|
|
"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":"sdk-nodejs-devg",
|
|
"kw":"Object Management",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Object Management",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0602.html",
|
|
"node_id":"obs_29_0602.xml",
|
|
"product_code":"obs",
|
|
"code":"59",
|
|
"des":"Object metadata contains a set of name-value pairs that are used for describing and managing objects.Currently, system-defined and custom metadata are supported.System-de",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Configuring Object Metadata,Object Management,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Configuring Object Metadata",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0601.html",
|
|
"node_id":"obs_29_0601.xml",
|
|
"product_code":"obs",
|
|
"code":"60",
|
|
"des":"Object metadata contains a set of name-value pairs that are used for describing and managing objects.Currently, only the system-defined metadata is supported. System-defi",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Obtaining Object Metadata,Object Management,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Obtaining Object Metadata",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0604.html",
|
|
"node_id":"obs_29_0604.xml",
|
|
"product_code":"obs",
|
|
"code":"61",
|
|
"des":"Access control lists (ACLs) allow resource owners to grant other accounts the permissions to access resources. By default, only the resource owner has full control over r",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Configuring an Object ACL,Object Management,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Configuring an Object ACL",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0603.html",
|
|
"node_id":"obs_29_0603.xml",
|
|
"product_code":"obs",
|
|
"code":"62",
|
|
"des":"Access control lists (ACLs) allow resource owners to grant other accounts the permissions to access resources. By default, only the resource owner has full control over r",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Obtaining the ACL of an Object,Object Management,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Obtaining the ACL of an Object",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0605.html",
|
|
"node_id":"obs_29_0605.xml",
|
|
"product_code":"obs",
|
|
"code":"63",
|
|
"des":"This API lists some or all of the objects in a bucket. You can configure the prefix, number, or start position as the filter to list objects. Returned objects are listed ",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Listing Objects in a Bucket,Object Management,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Listing Objects in a Bucket",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0606.html",
|
|
"node_id":"obs_29_0606.xml",
|
|
"product_code":"obs",
|
|
"code":"64",
|
|
"des":"Exercise caution when performing this operation. If the versioning function is disabled for the bucket where the object is located, the object cannot be restored after be",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Deleting an Object,Object Management,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Deleting an Object",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0607.html",
|
|
"node_id":"obs_29_0607.xml",
|
|
"product_code":"obs",
|
|
"code":"65",
|
|
"des":"Exercise caution when performing this operation. If versioning is disabled for the bucket where objects are located, objects cannot be restored after being deleted.This A",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Batch Deleting Objects,Object Management,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Batch Deleting Objects",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0608.html",
|
|
"node_id":"obs_29_0608.xml",
|
|
"product_code":"obs",
|
|
"code":"66",
|
|
"des":"This API copies an object stored in OBS to a specified path. You can copy an object of up to 5 GB in a single operation.To copy an object, you must be the bucket owner or",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Copying an Object,Object Management,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Copying an Object",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_1900.html",
|
|
"node_id":"obs_29_1900.xml",
|
|
"product_code":"obs",
|
|
"code":"67",
|
|
"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":"sdk-nodejs-devg",
|
|
"kw":"Multipart Upload",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Multipart Upload",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_1901.html",
|
|
"node_id":"obs_29_1901.xml",
|
|
"product_code":"obs",
|
|
"code":"68",
|
|
"des":"To upload a large file, multipart upload is recommended. Multipart upload is applicable to many scenarios. Below are some examples.Files to be uploaded are larger than 10",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Multipart Upload APIs,Multipart Upload,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Multipart Upload APIs",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_1902.html",
|
|
"node_id":"obs_29_1902.xml",
|
|
"product_code":"obs",
|
|
"code":"69",
|
|
"des":"This API initiates a multipart upload and returns a globally unique upload ID. You can use this upload ID in your subsequent requests for uploading, assembling, and listi",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Initiating a Multipart Upload,Multipart Upload,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Initiating a Multipart Upload",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_1903.html",
|
|
"node_id":"obs_29_1903.xml",
|
|
"product_code":"obs",
|
|
"code":"70",
|
|
"des":"After a multipart upload is initiated, this API uploads a part to a specified bucket. In the upload request, the multipart upload ID must be included.When uploading a par",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Uploading a Part,Multipart Upload,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Uploading a Part",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_1904.html",
|
|
"node_id":"obs_29_1904.xml",
|
|
"product_code":"obs",
|
|
"code":"71",
|
|
"des":"This API assembles the uploaded parts to complete the multipart upload. Before performing this operation, you cannot download the uploaded data. When assembling parts, yo",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Assembling Parts,Multipart Upload,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Assembling Parts",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_1905.html",
|
|
"node_id":"obs_29_1905.xml",
|
|
"product_code":"obs",
|
|
"code":"72",
|
|
"des":"This API lists the uploaded parts in a specified bucket. This request must contain the multipart upload ID.You can list the uploaded parts of a specified multipart upload",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Listing Uploaded Parts,Multipart Upload,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Listing Uploaded Parts",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_1906.html",
|
|
"node_id":"obs_29_1906.xml",
|
|
"product_code":"obs",
|
|
"code":"73",
|
|
"des":"This API lists multipart uploads that have been initiated but not completed or cancelled.You can list all the multipart uploads that are not assembled or aborted in a buc",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Listing Multipart Uploads,Multipart Upload,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Listing Multipart Uploads",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_1907.html",
|
|
"node_id":"obs_29_1907.xml",
|
|
"product_code":"obs",
|
|
"code":"74",
|
|
"des":"This API uploads a part for a specified multipart upload by copying data to a specified bucket.After initiating a multipart upload task, you can add parts for this task b",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Copying a Part,Multipart Upload,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Copying a Part",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_1908.html",
|
|
"node_id":"obs_29_1908.xml",
|
|
"product_code":"obs",
|
|
"code":"75",
|
|
"des":"This API aborts a multipart upload by specifying its ID.After a multipart upload is aborted, its upload ID cannot be used to upload any part. And the space occupied by al",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Aborting a Multipart Upload,Multipart Upload,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Aborting a Multipart Upload",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0700.html",
|
|
"node_id":"obs_29_0700.xml",
|
|
"product_code":"obs",
|
|
"code":"76",
|
|
"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":"sdk-nodejs-devg",
|
|
"kw":"Temporarily Authorized Access",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Temporarily Authorized Access",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0701.html",
|
|
"node_id":"obs_29_0701.xml",
|
|
"product_code":"obs",
|
|
"code":"77",
|
|
"des":"OBS allows you to create a URL whose Query parameters carry authentication information by specifying the AK and SK, HTTP method, and request parameters. You can provide t",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Using a Temporary URL for Authorized Access,Temporarily Authorized Access,Node.js SDK Developer Guid",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Using a Temporary URL for Authorized Access",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0800.html",
|
|
"node_id":"obs_29_0800.xml",
|
|
"product_code":"obs",
|
|
"code":"78",
|
|
"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":"sdk-nodejs-devg",
|
|
"kw":"Versioning",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Versioning",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0801.html",
|
|
"node_id":"obs_29_0801.xml",
|
|
"product_code":"obs",
|
|
"code":"79",
|
|
"des":"You can use versioning to store multiple versions of an object in a bucket.When versioning is enabled for a bucket, OBS keeps multiple versions of an object in the bucket",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Versioning Overview,Versioning,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Versioning Overview",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0802.html",
|
|
"node_id":"obs_29_0802.xml",
|
|
"product_code":"obs",
|
|
"code":"80",
|
|
"des":"You can enable versioning to automatically maintain previous versions of an object. When versioning is enabled, you can access earlier versions of an object to recover yo",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Configuring Versioning for a Bucket,Versioning,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Configuring Versioning for a Bucket",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0803.html",
|
|
"node_id":"obs_29_0803.xml",
|
|
"product_code":"obs",
|
|
"code":"81",
|
|
"des":"You can enable versioning to automatically maintain previous versions of an object. When versioning is enabled, you can access earlier versions of an object to recover yo",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Viewing the Versioning Status of a Bucket,Versioning,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Viewing the Versioning Status of a Bucket",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0804.html",
|
|
"node_id":"obs_29_0804.xml",
|
|
"product_code":"obs",
|
|
"code":"82",
|
|
"des":"This API downloads an object version from OBS to your local computer.To download an object, you must be the bucket owner or have the required permission (obs:object:GetOb",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Obtaining an Object Version,Versioning,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Obtaining an Object Version",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0805.html",
|
|
"node_id":"obs_29_0805.xml",
|
|
"product_code":"obs",
|
|
"code":"83",
|
|
"des":"This API copies an object version in a specified bucket. You can copy an object of up to 5 GB in a single operation.To copy an object, you must be the bucket owner or hav",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Copying an Object Version,Versioning,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Copying an Object Version",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0806.html",
|
|
"node_id":"obs_29_0806.xml",
|
|
"product_code":"obs",
|
|
"code":"84",
|
|
"des":"To download an object in the Cold storage class, you need to restore it first. After an object is restored, a copy of the object is saved in the Standard storage class. B",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Restoring a Cold Object Version,Versioning,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Restoring a Cold Object Version",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0807.html",
|
|
"node_id":"obs_29_0807.xml",
|
|
"product_code":"obs",
|
|
"code":"85",
|
|
"des":"This API lists some or all of the object versions in a bucket. When listing the object versions, you can specify the criteria such as the prefix, number, and start positi",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Listing Object Versions in a Bucket,Versioning,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Listing Object Versions in a Bucket",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0808.html",
|
|
"node_id":"obs_29_0808.xml",
|
|
"product_code":"obs",
|
|
"code":"86",
|
|
"des":"This API calls ObsClient.setObjectAcl to set an ACL for an object version specified by the VersionId parameter. For details about the API definition, see Configuring an O",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Setting an ACL for an Object Version,Versioning,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Setting an ACL for an Object Version",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_1308.html",
|
|
"node_id":"obs_29_1308.xml",
|
|
"product_code":"obs",
|
|
"code":"87",
|
|
"des":"This API calls ObsClient.getObjectAcl to obtain the ACL of an object version specified by the VersionId parameter. For details about the API definition, see Obtaining the",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Obtaining the ACL of an Object Version,Versioning,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Obtaining the ACL of an Object Version",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0809.html",
|
|
"node_id":"obs_29_0809.xml",
|
|
"product_code":"obs",
|
|
"code":"88",
|
|
"des":"You can call ObsClient.deleteObject to delete an object version specified by the VersionId parameter. For details about the API definition, see Deleting an Object.You can",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Deleting an Object Version,Versioning,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Deleting an Object Version",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0900.html",
|
|
"node_id":"obs_29_0900.xml",
|
|
"product_code":"obs",
|
|
"code":"89",
|
|
"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":"sdk-nodejs-devg",
|
|
"kw":"Lifecycle",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Lifecycle",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0902.html",
|
|
"node_id":"obs_29_0902.xml",
|
|
"product_code":"obs",
|
|
"code":"90",
|
|
"des":"You can configure lifecycle rules to periodically delete objects or transition objects between storage classes.This API configures lifecycle rules for a bucket.Expired ob",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Configuring Lifecycle Rules for a Bucket,Lifecycle,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Configuring Lifecycle Rules for a Bucket",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0903.html",
|
|
"node_id":"obs_29_0903.xml",
|
|
"product_code":"obs",
|
|
"code":"91",
|
|
"des":"You can configure lifecycle rules to periodically delete objects or transition objects between storage classes.This API returns the lifecycle rules of a bucket.To obtain ",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Obtaining the Lifecycle Rules of a Bucket,Lifecycle,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Obtaining the Lifecycle Rules of a Bucket",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_0904.html",
|
|
"node_id":"obs_29_0904.xml",
|
|
"product_code":"obs",
|
|
"code":"92",
|
|
"des":"You can configure lifecycle rules to periodically delete objects or transition objects between storage classes.This API deletes the lifecycle rules of a bucket.To delete ",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Deleting the Lifecycle Rules of a Bucket,Lifecycle,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Deleting the Lifecycle Rules of a Bucket",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_1000.html",
|
|
"node_id":"obs_29_1000.xml",
|
|
"product_code":"obs",
|
|
"code":"93",
|
|
"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":"sdk-nodejs-devg",
|
|
"kw":"Bucket CORS",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Bucket CORS",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_1002.html",
|
|
"node_id":"obs_29_1002.xml",
|
|
"product_code":"obs",
|
|
"code":"94",
|
|
"des":"Cross-origin resource sharing (CORS) is a mechanism defined by the World Wide Web Consortium (W3C) that allows a web application program in one domain to access resources",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Configuring CORS for a Bucket,Bucket CORS,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Configuring CORS for a Bucket",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_1003.html",
|
|
"node_id":"obs_29_1003.xml",
|
|
"product_code":"obs",
|
|
"code":"95",
|
|
"des":"Cross-origin resource sharing (CORS) is a mechanism defined by the World Wide Web Consortium (W3C) that allows a web application program in one domain to access resources",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Obtaining the CORS Configuration of a Bucket,Bucket CORS,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Obtaining the CORS Configuration of a Bucket",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_1004.html",
|
|
"node_id":"obs_29_1004.xml",
|
|
"product_code":"obs",
|
|
"code":"96",
|
|
"des":"Cross-origin resource sharing (CORS) is a mechanism defined by the World Wide Web Consortium (W3C) that allows a web application program in one domain to access resources",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Deleting the CORS Configuration of a Bucket,Bucket CORS,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Deleting the CORS Configuration of a Bucket",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_1100.html",
|
|
"node_id":"obs_29_1100.xml",
|
|
"product_code":"obs",
|
|
"code":"97",
|
|
"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":"sdk-nodejs-devg",
|
|
"kw":"Logging",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Logging",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_1102.html",
|
|
"node_id":"obs_29_1102.xml",
|
|
"product_code":"obs",
|
|
"code":"98",
|
|
"des":"A bucket in the Warm or Cold storage class cannot be used as a log target bucket.This API enables logging for a bucket (source) and configures another bucket (target) to ",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Configuring Logging for a Bucket,Logging,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Configuring Logging for a Bucket",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_1103.html",
|
|
"node_id":"obs_29_1103.xml",
|
|
"product_code":"obs",
|
|
"code":"99",
|
|
"des":"This API returns the logging configuration of a bucket.To obtain the logging configuration of a bucket, you must be the bucket owner or have the required permission (obs:",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Obtaining the Logging Configuration of a Bucket,Logging,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Obtaining the Logging Configuration of a Bucket",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_1200.html",
|
|
"node_id":"obs_29_1200.xml",
|
|
"product_code":"obs",
|
|
"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":"sdk-nodejs-devg",
|
|
"kw":"Static Website Hosting",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Static Website Hosting",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_1201.html",
|
|
"node_id":"obs_29_1201.xml",
|
|
"product_code":"obs",
|
|
"code":"101",
|
|
"des":"You can upload the content files of the static website to your bucket in OBS as objects and configure the public-read permission on the files, and then configure the stat",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Overview,Static Website Hosting,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Overview",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_1203.html",
|
|
"node_id":"obs_29_1203.xml",
|
|
"product_code":"obs",
|
|
"code":"102",
|
|
"des":"You can host static website resources such as HTML web pages, flash files, or audio and video files in an OBS bucket, so that you can provide these hosted resources using",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Configuring Static Website Hosting,Static Website Hosting,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Configuring Static Website Hosting",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_1204.html",
|
|
"node_id":"obs_29_1204.xml",
|
|
"product_code":"obs",
|
|
"code":"103",
|
|
"des":"You can host static website resources such as HTML web pages, flash files, or audio and video files in an OBS bucket, so that you can provide these hosted resources using",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Obtaining Static Website Hosting Configurations,Static Website Hosting,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Obtaining Static Website Hosting Configurations",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_1205.html",
|
|
"node_id":"obs_29_1205.xml",
|
|
"product_code":"obs",
|
|
"code":"104",
|
|
"des":"You can host static website resources such as HTML web pages, flash files, or audio and video files in an OBS bucket, so that you can provide these hosted resources using",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Deleting Website Hosting Settings,Static Website Hosting,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Deleting Website Hosting Settings",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_1300.html",
|
|
"node_id":"obs_29_1300.xml",
|
|
"product_code":"obs",
|
|
"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":"sdk-nodejs-devg",
|
|
"kw":"Tagging",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Tagging",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_1302.html",
|
|
"node_id":"obs_29_1302.xml",
|
|
"product_code":"obs",
|
|
"code":"106",
|
|
"des":"If you add tags to a bucket, SDRs generated for the requests sent to this bucket will include these tags, so you can use the tags to classify SDRs for detailed cost analy",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Setting Bucket Tags,Tagging,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Setting Bucket Tags",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_1303.html",
|
|
"node_id":"obs_29_1303.xml",
|
|
"product_code":"obs",
|
|
"code":"107",
|
|
"des":"If you add tags to a bucket, SDRs generated for the requests sent to this bucket will include these tags, so you can use the tags to classify SDRs for detailed cost analy",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Obtaining Bucket Tags,Tagging,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Obtaining Bucket Tags",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_1304.html",
|
|
"node_id":"obs_29_1304.xml",
|
|
"product_code":"obs",
|
|
"code":"108",
|
|
"des":"If you add tags to a bucket, SDRs generated for the requests sent to this bucket will include these tags, so you can use the tags to classify SDRs for detailed cost analy",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Deleting Bucket Tags,Tagging,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Deleting Bucket Tags",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_1500.html",
|
|
"node_id":"obs_29_1500.xml",
|
|
"product_code":"obs",
|
|
"code":"109",
|
|
"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":"sdk-nodejs-devg",
|
|
"kw":"Server-Side Encryption",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Server-Side Encryption",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_1502.html",
|
|
"node_id":"obs_29_1502.xml",
|
|
"product_code":"obs",
|
|
"code":"110",
|
|
"des":"The following table lists APIs related to server-side encryption:OBS Node.js SDK supports the following two types of encryption/decryption mode:",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"APIs,Server-Side Encryption,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"APIs",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_1503.html",
|
|
"node_id":"obs_29_1503.xml",
|
|
"product_code":"obs",
|
|
"code":"111",
|
|
"des":"This example uploads object example/objectname to bucket examplebucket and encrypts it using SSE-C.This example downloads the encrypted object example/objectname using a ",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Code Examples,Server-Side Encryption,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Code Examples",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_1600.html",
|
|
"node_id":"obs_29_1600.xml",
|
|
"product_code":"obs",
|
|
"code":"112",
|
|
"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":"sdk-nodejs-devg",
|
|
"kw":"Troubleshooting",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Troubleshooting",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_1601.html",
|
|
"node_id":"obs_29_1601.xml",
|
|
"product_code":"obs",
|
|
"code":"113",
|
|
"des":"If the OBS server encounters an error when processing a request, a response containing the error code and error description is returned. The following table lists details",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"OBS Server-Side Error Codes,Troubleshooting,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"OBS Server-Side Error Codes",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_1602.html",
|
|
"node_id":"obs_29_1602.xml",
|
|
"product_code":"obs",
|
|
"code":"114",
|
|
"des":"After you call an API in an instance of the ObsClient class, a common result object will be returned if no exception is thrown. The following table lists the fields of th",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"SDK Common Results,Troubleshooting,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"SDK Common Results",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_1603.html",
|
|
"node_id":"obs_29_1603.xml",
|
|
"product_code":"obs",
|
|
"code":"115",
|
|
"des":"OBS Node.js SDK provides the logging function based on Log4js. You can call ObsClient.initLogto enable and configure logging. The sample code is as follows:The logging fu",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Log Analysis,Troubleshooting,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Log Analysis",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_1604.html",
|
|
"node_id":"obs_29_1604.xml",
|
|
"product_code":"obs",
|
|
"code":"116",
|
|
"des":"Problem: When OBS Node.js SDK is used for secondary development, an error message was displayed indicating that a module was missing, for example, \"Cannot find module 'xm",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Missing Modules,Troubleshooting,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Missing Modules",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_1605.html",
|
|
"node_id":"obs_29_1605.xml",
|
|
"product_code":"obs",
|
|
"code":"117",
|
|
"des":"Problem: If a \"connect ETIMEDOUT\" error occurred when calling an API, the possible cause was that the service address (endpoint) was incorrect or the network was disconne",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Connection Timeout,Troubleshooting,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Connection Timeout",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_1606.html",
|
|
"node_id":"obs_29_1606.xml",
|
|
"product_code":"obs",
|
|
"code":"118",
|
|
"des":"Problem: The HTTP status code obtained from CommonMsg.Status was 403, and the OBS server-side error code obtained from CommonMsg.Code was SignatureDoesNotMatch.Solution:C",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"Unmatched Signatures,Troubleshooting,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Unmatched Signatures",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_1700.html",
|
|
"node_id":"obs_29_1700.xml",
|
|
"product_code":"obs",
|
|
"code":"119",
|
|
"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":"sdk-nodejs-devg",
|
|
"kw":"FAQs",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"FAQs",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_1715.html",
|
|
"node_id":"obs_29_1715.xml",
|
|
"product_code":"obs",
|
|
"code":"120",
|
|
"des":"When calling APIs, you may need to specify the account ID (DomainID) and user ID (UserID) in some requests. You need to obtain them from the console in advance. To obtain",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"How Do I Get My Account ID and User ID?,FAQs,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"How Do I Get My Account ID and User ID?",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_1716.html",
|
|
"node_id":"obs_29_1716.xml",
|
|
"product_code":"obs",
|
|
"code":"121",
|
|
"des":"Multipurpose Internet Mail Extensions (MIME) type is a standard way of describing a data type. The MIME type is passed in the Content-Type header.If you do not specify Co",
|
|
"doc_type":"sdk-nodejs-devg",
|
|
"kw":"What Is Content-Type (MIME)?,FAQs,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"What Is Content-Type (MIME)?",
|
|
"githuburl":""
|
|
},
|
|
{
|
|
"uri":"obs_29_1802.html",
|
|
"node_id":"obs_29_1802.xml",
|
|
"product_code":"obs",
|
|
"code":"122",
|
|
"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":"sdk-nodejs-devg",
|
|
"kw":"Change History,Node.js SDK Developer Guide",
|
|
"search_title":"",
|
|
"metedata":[
|
|
{
|
|
"prodname":"obs",
|
|
"documenttype":"sdk-nodejs-devg"
|
|
}
|
|
],
|
|
"title":"Change History",
|
|
"githuburl":""
|
|
}
|
|
] |