diff --git a/docs/opengauss/api-ref/ALL_META.TXT.json b/docs/opengauss/api-ref/ALL_META.TXT.json index 2d422052..c0723350 100644 --- a/docs/opengauss/api-ref/ALL_META.TXT.json +++ b/docs/opengauss/api-ref/ALL_META.TXT.json @@ -1,301 +1,1323 @@ [ + { + "dockw":"API Reference" + }, { "uri":"opengauss_api_0001.html", + "node_id":"en-us_topic_0000001917130792.xml", "product_code":"opengauss", "code":"1", "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":"Before You Start", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], "title":"Before You Start", "githuburl":"" }, { "uri":"opengauss_api_0002.html", + "node_id":"en-us_topic_0000001947569661.xml", "product_code":"opengauss", "code":"2", - "des":"Welcome to GaussDB(openGauss) API Reference. GaussDB(openGauss) is a next-generation, enterprise-class distributed database. It is designed based on the shared-nothing ar", + "des":"GaussDB is a distributed relational database. GaussDB supports distributed transactions and intra-city deployment across AZs for zero data loss, storage for petabytes of ", "doc_type":"api", "kw":"Overview,Before You Start,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], "title":"Overview", "githuburl":"" }, { "uri":"opengauss_api_0003.html", + "node_id":"en-us_topic_0000001917290664.xml", "product_code":"opengauss", "code":"3", - "des":"GaussDB(openGauss) supports Representational State Transfer (REST) APIs, allowing you to call APIs using HTTPS. For details about API calling, see API Overview.", + "des":"GaussDB supports Representational State Transfer (REST) APIs, allowing you to call APIs using HTTPS. For details about API calling, see API Overview.", "doc_type":"api", "kw":"API Calling,Before You Start,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], "title":"API Calling", "githuburl":"" }, { "uri":"opengauss_api_0004.html", + "node_id":"en-us_topic_0000001917130620.xml", "product_code":"opengauss", "code":"4", "des":"An endpoint is the request address for calling an API. Endpoints vary depending on services and regions. For the endpoints of all services, see Regions and Endpoints.", "doc_type":"api", "kw":"Endpoints,Before You Start,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], "title":"Endpoints", "githuburl":"" }, { "uri":"opengauss_api_0005.html", + "node_id":"en-us_topic_0000001917130448.xml", "product_code":"opengauss", "code":"5", "des":"For more constraints, see API description.", "doc_type":"api", "kw":"Constraints,Before You Start,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], "title":"Constraints", "githuburl":"" }, { "uri":"opengauss_api_0006.html", + "node_id":"en-us_topic_0000001947569525.xml", "product_code":"opengauss", "code":"6", "des":"DomainA domain is created upon successful registration. The domain has full access permissions for all of its cloud services and resources. It can be used to reset user p", "doc_type":"api", "kw":"Concepts,Before You Start,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], "title":"Concepts", "githuburl":"" }, { "uri":"opengauss_api_0007.html", + "node_id":"en-us_topic_0000001917290636.xml", "product_code":"opengauss", "code":"7", - "des":"GaussDB(openGauss) APIs enable you to use all GaussDB(openGauss) functions, including creating/deleting DB instances and scaling up instance storage space.", + "des":"You can use APIs to create and delete DB instances, query DB instances, obtain and modify parameters of a specified DB instance, and set and query automated backup polici", "doc_type":"api", "kw":"API Overview,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], "title":"API Overview", "githuburl":"" }, { - "uri":"opengauss_api_0012.html", + "uri":"opengauss_api_0008.html", + "node_id":"en-us_topic_0000001917130428.xml", "product_code":"opengauss", "code":"8", + "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":"Calling APIs", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], + "title":"Calling APIs", + "githuburl":"" + }, + { + "uri":"opengauss_api_0009.html", + "node_id":"en-us_topic_0000001947569461.xml", + "product_code":"opengauss", + "code":"9", + "des":"This section describes the structure of a REST API and how to call an API. Before calling an API, you need to obtain the user token. The obtained token can then be used t", + "doc_type":"api", + "kw":"Making an API Request,Calling APIs,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], + "title":"Making an API Request", + "githuburl":"" + }, + { + "uri":"opengauss_api_0010.html", + "node_id":"en-us_topic_0000001917130680.xml", + "product_code":"opengauss", + "code":"10", + "des":"Token authentication must be performed to call APIs.Token-based authentication: Requests are authenticated using a token.The validity period of a token is 24 hours. If a ", + "doc_type":"api", + "kw":"Authentication,Calling APIs,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], + "title":"Authentication", + "githuburl":"" + }, + { + "uri":"opengauss_api_0011.html", + "node_id":"en-us_topic_0000001947569801.xml", + "product_code":"opengauss", + "code":"11", + "des":"After sending a request, you will receive a response, including the status code, response header, and response body.A status code is a group of digits ranging from 1xx to", + "doc_type":"api", + "kw":"Response,Calling APIs,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], + "title":"Response", + "githuburl":"" + }, + { + "uri":"opengauss_api_0012.html", + "node_id":"en-us_topic_0000001917130760.xml", + "product_code":"opengauss", + "code":"12", "des":"Public cloud APIs comply with the RESTful API design principles. REST-based web services are organized into resources. Each resource is identified by one or more Uniform ", "doc_type":"api", "kw":"Using APIs,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], "title":"Using APIs", "githuburl":"" }, { "uri":"opengauss_api_0013.html", + "node_id":"en-us_topic_0000001917290496.xml", "product_code":"opengauss", - "code":"9", + "code":"13", "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":"API", - "title":"API", + "kw":"APIs (Recommended)", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], + "title":"APIs (Recommended)", "githuburl":"" }, { "uri":"opengauss_api_0014.html", + "node_id":"en-us_topic_0000001917290356.xml", "product_code":"opengauss", - "code":"10", + "code":"14", "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":"DB Instance Management", - "title":"DB Instance Management", + "kw":"Instance Management", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], + "title":"Instance Management", "githuburl":"" }, { "uri":"opengauss_api_0015.html", + "node_id":"en-us_topic_0000001917290508.xml", "product_code":"opengauss", - "code":"11", - "des":"This API is used to create a GaussDB(openGauss) DB instance. GaussDB(openGauss) supports distributed instances.Before calling an API, you need to understand the API in Us", + "code":"15", + "des":"This API is used to create a GaussDB instance. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain the required region and ", "doc_type":"api", - "kw":"Creating a DB Instance,DB Instance Management,API Reference", + "kw":"Creating a DB Instance,Instance Management,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], "title":"Creating a DB Instance", "githuburl":"" }, { "uri":"opengauss_api_0016.html", + "node_id":"en-us_topic_0000001917290492.xml", "product_code":"opengauss", - "code":"12", - "des":"This API is used to scale up storage space of a DB instance.Before calling an API, you need to understand the API in Using APIs.Before calling this API, obtain the requir", + "code":"16", + "des":"This API is used to add CNs, add shards, or scale up storage. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain the requi", "doc_type":"api", - "kw":"Scaling Up Storage Space of a DB Instance,DB Instance Management,API Reference", - "title":"Scaling Up Storage Space of a DB Instance", + "kw":"Adding CNs, Adding Shards, or Scaling Up Storage,Instance Management,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], + "title":"Adding CNs, Adding Shards, or Scaling Up Storage", "githuburl":"" }, { "uri":"opengauss_api_0017.html", + "node_id":"en-us_topic_0000001917130708.xml", "product_code":"opengauss", - "code":"13", - "des":"This API is used to delete a DB instance.Before calling an API, you need to understand the API in Using APIs.Before calling this API, obtain the required region and endpo", + "code":"17", + "des":"This API is used to delete a DB instance. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain the required region and endpo", "doc_type":"api", - "kw":"Deleting a DB Instance,DB Instance Management,API Reference", + "kw":"Deleting a DB Instance,Instance Management,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], "title":"Deleting a DB Instance", "githuburl":"" }, { "uri":"opengauss_api_0018.html", + "node_id":"en-us_topic_0000001917130632.xml", "product_code":"opengauss", - "code":"14", - "des":"This API is used to query DB instances according to search criteria.Before calling an API, you need to understand the API in Using APIs.Before calling this API, obtain th", + "code":"18", + "des":"This API is used to query instances according to search criteria. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain the r", "doc_type":"api", - "kw":"Querying Details About DB Instances,DB Instance Management,API Reference", - "title":"Querying Details About DB Instances", - "githuburl":"" - }, - { - "uri":"opengauss_api_0019.html", - "product_code":"opengauss", - "code":"15", - "des":"This API is used to add CNs.Before calling an API, you need to understand the API in Using APIs.Before calling this API, obtain the required region and endpoint.The CN gr", - "doc_type":"api", - "kw":"Adding CNs,DB Instance Management,API Reference", - "title":"Adding CNs", - "githuburl":"" - }, - { - "uri":"opengauss_api_0020.html", - "product_code":"opengauss", - "code":"16", - "des":"This API is used to add shards.Before calling an API, you need to understand the API in Using APIs.Before calling this API, obtain the required region and endpoint.Interm", - "doc_type":"api", - "kw":"Adding Shards,DB Instance Management,API Reference", - "title":"Adding Shards", + "kw":"Querying DB Instances,Instance Management,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], + "title":"Querying DB Instances", "githuburl":"" }, { "uri":"opengauss_api_0021.html", + "node_id":"en-us_topic_0000001917290428.xml", "product_code":"opengauss", - "code":"17", - "des":"This API is used to reset a database password.Before calling an API, you need to understand the API in Using APIs.Before calling this API, obtain the required region and ", + "code":"19", + "des":"This API is used to reset a database password. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain the required region and ", "doc_type":"api", - "kw":"Resetting a Database Password,DB Instance Management,API Reference", + "kw":"Resetting a Database Password,Instance Management,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], "title":"Resetting a Database Password", "githuburl":"" }, { "uri":"opengauss_api_0022.html", + "node_id":"en-us_topic_0000001947569645.xml", "product_code":"opengauss", - "code":"18", - "des":"This API is used to change a DB instance name.Before calling an API, you need to understand the API in Using APIs.Before calling this API, obtain the required region and ", + "code":"20", + "des":"This API is used to change an instance name. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain the required region and en", "doc_type":"api", - "kw":"Modifying a DB Instance Name,DB Instance Management,API Reference", - "title":"Modifying a DB Instance Name", + "kw":"Changing a DB Instance Name,Instance Management,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], + "title":"Changing a DB Instance Name", + "githuburl":"" + }, + { + "uri":"opengauss_newapi_0001.html", + "node_id":"en-us_topic_0000001917130696.xml", + "product_code":"opengauss", + "code":"21", + "des":"This API is used to reboot a DB instance. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain the required region and endpo", + "doc_type":"api", + "kw":"Rebooting a DB Instance,Instance Management,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], + "title":"Rebooting a DB Instance", + "githuburl":"" + }, + { + "uri":"opengauss_newapi_0029.html", + "node_id":"en-us_topic_0000001917130500.xml", + "product_code":"opengauss", + "code":"22", + "des":"This API is used to perform a primary/standby DN switchover for one or more shards. In a shard, only one standby node can be promoted to primary. Before calling this API:", + "doc_type":"api", + "kw":"Switching Roles of the Primary and Standby DNs in Shards,Instance Management,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], + "title":"Switching Roles of the Primary and Standby DNs in Shards", + "githuburl":"" + }, + { + "uri":"opengauss_newapi_0030.html", + "node_id":"en-us_topic_0000001917130628.xml", + "product_code":"opengauss", + "code":"23", + "des":"This API is used to query components of a DB instance. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain the required reg", + "doc_type":"api", + "kw":"Querying the Components of a DB Instance,Instance Management,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], + "title":"Querying the Components of a DB Instance", + "githuburl":"" + }, + { + "uri":"opengauss_newapi_0031.html", + "node_id":"en-us_topic_0000001917290696.xml", + "product_code":"opengauss", + "code":"24", + "des":"This API is used to change the vCPUs and memory of a DB instance. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain the r", + "doc_type":"api", + "kw":"Changing vCPUs and Memory of a DB Instance,Instance Management,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], + "title":"Changing vCPUs and Memory of a DB Instance", + "githuburl":"" + }, + { + "uri":"opengauss_api_1037.html", + "node_id":"en-us_topic_0000001917290616.xml", + "product_code":"", + "code":"25", + "des":"This API is used to change the port number of a specified DB instance. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain ", + "doc_type":"", + "kw":"Changing the Port Number of a Specified DB Instance,Instance Management,API Reference", + "search_title":"", + "metedata":[ + { + + } + ], + "title":"Changing the Port Number of a Specified DB Instance", "githuburl":"" }, { "uri":"opengauss_api_0023.html", + "node_id":"en-us_topic_0000001917290584.xml", "product_code":"opengauss", - "code":"19", + "code":"26", "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":"Parameter Configuration", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], "title":"Parameter Configuration", "githuburl":"" }, { - "uri":"opengauss_api_0024.html", + "uri":"opengauss_newapi_0003.html", + "node_id":"en-us_topic_0000001947569465.xml", "product_code":"opengauss", - "code":"20", - "des":"This API is used to modify parameters in the parameter template of a specified DB instance.Before calling an API, you need to understand the API in Using APIs.Before call", + "code":"27", + "des":"This API is used to obtain parameter templates, including all databases' default and custom parameter templates. Before calling this API:Learn how to authenticate this AP", + "doc_type":"api", + "kw":"Obtaining Parameter Templates,Parameter Configuration,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], + "title":"Obtaining Parameter Templates", + "githuburl":"" + }, + { + "uri":"opengauss_newapi_0004.html", + "node_id":"en-us_topic_0000001947569493.xml", + "product_code":"opengauss", + "code":"28", + "des":"This API is used to obtain parameters of a specified DB instance. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain the r", + "doc_type":"api", + "kw":"Obtaining the Parameters of a Specified DB Instance,Parameter Configuration,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], + "title":"Obtaining the Parameters of a Specified DB Instance", + "githuburl":"" + }, + { + "uri":"opengauss_api_0024.html", + "node_id":"en-us_topic_0000001917130688.xml", + "product_code":"opengauss", + "code":"29", + "des":"This API is used to modify parameters in the parameter template of a specified DB instance. Before calling this API:Learn how to authenticate this API.Understand the API ", "doc_type":"api", "kw":"Modifying Parameters of a Specified DB Instance,Parameter Configuration,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], "title":"Modifying Parameters of a Specified DB Instance", "githuburl":"" }, { "uri":"opengauss_api_0025.html", + "node_id":"en-us_topic_0000001947569457.xml", "product_code":"opengauss", - "code":"21", + "code":"30", "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":"Backup Management", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], "title":"Backup Management", "githuburl":"" }, { "uri":"opengauss_api_0026.html", + "node_id":"en-us_topic_0000001917290732.xml", "product_code":"opengauss", - "code":"22", - "des":"This API is used to set an automated backup policy.Before calling an API, you need to understand the API in Using APIs.Before calling this API, obtain the required region", + "code":"31", + "des":"This API is used to configure an automated backup policy. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain the required ", "doc_type":"api", - "kw":"Setting an Automated Backup Policy,Backup Management,API Reference", - "title":"Setting an Automated Backup Policy", + "kw":"Configuring an Automated Backup Policy,Backup Management,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], + "title":"Configuring an Automated Backup Policy", + "githuburl":"" + }, + { + "uri":"opengauss_newapi_0022.html", + "node_id":"en-us_topic_0000001947569641.xml", + "product_code":"opengauss", + "code":"32", + "des":"This API is used to query an automated backup policy. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain the required regi", + "doc_type":"api", + "kw":"Querying an Automated Backup Policy,Backup Management,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], + "title":"Querying an Automated Backup Policy", + "githuburl":"" + }, + { + "uri":"opengauss_newapi_0023.html", + "node_id":"en-us_topic_0000001917290556.xml", + "product_code":"opengauss", + "code":"33", + "des":"This API is used to obtain backups of an instance. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain the required region ", + "doc_type":"api", + "kw":"Querying Backups,Backup Management,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], + "title":"Querying Backups", + "githuburl":"" + }, + { + "uri":"opengauss_newapi_0024.html", + "node_id":"en-us_topic_0000001947569849.xml", + "product_code":"opengauss", + "code":"34", + "des":"This API is used to create a manual backup. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain the required region and end", + "doc_type":"api", + "kw":"Creating a Manual Backup,Backup Management,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], + "title":"Creating a Manual Backup", + "githuburl":"" + }, + { + "uri":"opengauss_newapi_0025.html", + "node_id":"en-us_topic_0000001947569585.xml", + "product_code":"opengauss", + "code":"35", + "des":"This API is used to delete a manual backup. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain the required region and end", + "doc_type":"api", + "kw":"Deleting a Manual Backup,Backup Management,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], + "title":"Deleting a Manual Backup", + "githuburl":"" + }, + { + "uri":"opengauss_newapi_0026.html", + "node_id":"en-us_topic_0000001947569481.xml", + "product_code":"opengauss", + "code":"36", + "des":"This API is used to query the restoration time range of an instance. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain th", + "doc_type":"api", + "kw":"Querying the Restoration Time Range,Backup Management,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], + "title":"Querying the Restoration Time Range", + "githuburl":"" + }, + { + "uri":"opengauss_newapi_0027.html", + "node_id":"en-us_topic_0000001917130460.xml", + "product_code":"opengauss", + "code":"37", + "des":"This API is used to restore data to a new DB instance using backups. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain th", + "doc_type":"api", + "kw":"Restoring Data to a New DB Instance,Backup Management,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], + "title":"Restoring Data to a New DB Instance", + "githuburl":"" + }, + { + "uri":"opengauss_newapi_0005.html", + "node_id":"en-us_topic_0000001947569533.xml", + "product_code":"opengauss", + "code":"38", + "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":"DB Engine Versions and Specifications", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], + "title":"DB Engine Versions and Specifications", + "githuburl":"" + }, + { + "uri":"opengauss_newapi_0006.html", + "node_id":"en-us_topic_0000001947569485.xml", + "product_code":"opengauss", + "code":"39", + "des":"This API is used to query DB engine versions supported by a DB instance. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtai", + "doc_type":"api", + "kw":"Querying DB Engine Versions,DB Engine Versions and Specifications,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], + "title":"Querying DB Engine Versions", + "githuburl":"" + }, + { + "uri":"opengauss_newapi_0007.html", + "node_id":"en-us_topic_0000001917290424.xml", + "product_code":"opengauss", + "code":"40", + "des":"This API is used to query instance specifications. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain the required region ", + "doc_type":"api", + "kw":"Querying Instance Specifications,DB Engine Versions and Specifications,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], + "title":"Querying Instance Specifications", + "githuburl":"" + }, + { + "uri":"opengauss_newapi_0028.html", + "node_id":"en-us_topic_0000001917290656.xml", + "product_code":"opengauss", + "code":"41", + "des":"This API is used to query the disk type of a DB instance. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain the required ", + "doc_type":"api", + "kw":"Querying Database Disk Type,APIs (Recommended),API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], + "title":"Querying Database Disk Type", + "githuburl":"" + }, + { + "uri":"opengauss_newapi_0034.html", + "node_id":"en-us_topic_0000001917130420.xml", + "product_code":"opengauss", + "code":"42", + "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":"Task Management", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], + "title":"Task Management", + "githuburl":"" + }, + { + "uri":"opengauss_newapi_0035.html", + "node_id":"en-us_topic_0000001917130832.xml", + "product_code":"opengauss", + "code":"43", + "des":"This API is used to obtain information about a task with a specified ID. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtai", + "doc_type":"api", + "kw":"Obtaining Task Information,Task Management,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], + "title":"Obtaining Task Information", + "githuburl":"" + }, + { + "uri":"opengauss_newapi_0072.html", + "node_id":"en-us_topic_0000001947569857.xml", + "product_code":"opengauss", + "code":"44", + "des":"This API is used to query the tasks in the task center. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain the required re", + "doc_type":"api", + "kw":"Querying Tasks,Task Management,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], + "title":"Querying Tasks", + "githuburl":"" + }, + { + "uri":"opengauss_newapi_0073.html", + "node_id":"en-us_topic_0000001947569765.xml", + "product_code":"opengauss", + "code":"45", + "des":"This API is used to delete a task record. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain the required region and endpo", + "doc_type":"api", + "kw":"Deleting a Task Record,Task Management,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], + "title":"Deleting a Task Record", + "githuburl":"" + }, + { + "uri":"opengauss_newapi_0036.html", + "node_id":"en-us_topic_0000001917130732.xml", + "product_code":"opengauss", + "code":"46", + "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":"Recycle Bin", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], + "title":"Recycle Bin", + "githuburl":"" + }, + { + "uri":"opengauss_newapi_0037.html", + "node_id":"en-us_topic_0000001917290436.xml", + "product_code":"opengauss", + "code":"47", + "des":"This API is used to modify the recycling policy. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain the required region an", + "doc_type":"api", + "kw":"Modifying the Recycling Policy,Recycle Bin,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], + "title":"Modifying the Recycling Policy", + "githuburl":"" + }, + { + "uri":"opengauss_api_1013.html", + "node_id":"en-us_topic_0000001917290668.xml", + "product_code":"opengauss", + "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":"api", + "kw":"Historical APIs", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], + "title":"Historical APIs", + "githuburl":"" + }, + { + "uri":"opengauss_api_1014.html", + "node_id":"en-us_topic_0000001917130712.xml", + "product_code":"opengauss", + "code":"49", + "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":"DB Instance Management", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], + "title":"DB Instance Management", + "githuburl":"" + }, + { + "uri":"opengauss_api_1016.html", + "node_id":"en-us_topic_0000001917130496.xml", + "product_code":"opengauss", + "code":"50", + "des":"This API is used to scale up storage space of a DB instance. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain the requir", + "doc_type":"api", + "kw":"Scaling up Storage Space of a DB Instance,DB Instance Management,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], + "title":"Scaling up Storage Space of a DB Instance", + "githuburl":"" + }, + { + "uri":"opengauss_api_1017.html", + "node_id":"en-us_topic_0000001917290420.xml", + "product_code":"opengauss", + "code":"51", + "des":"This API is used to delete a DB instance. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain the required region and endpo", + "doc_type":"api", + "kw":"Deleting a DB Instance,DB Instance Management,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], + "title":"Deleting a DB Instance", + "githuburl":"" + }, + { + "uri":"opengauss_api_1019.html", + "node_id":"en-us_topic_0000001947569549.xml", + "product_code":"opengauss", + "code":"52", + "des":"This API is used to add CNs.Learn how to authenticate this API.Understand the API in Using APIs.Obtain the required region and endpoint.The CN growth increment ranges fro", + "doc_type":"api", + "kw":"Adding CNs,DB Instance Management,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], + "title":"Adding CNs", + "githuburl":"" + }, + { + "uri":"opengauss_api_1020.html", + "node_id":"en-us_topic_0000001947569473.xml", + "product_code":"opengauss", + "code":"53", + "des":"This API is used to add shards.Learn how to authenticate this API.Understand the API in Using APIs.Obtain the required region and endpoint.Intermittent disconnection occu", + "doc_type":"api", + "kw":"Adding Shards,DB Instance Management,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], + "title":"Adding Shards", + "githuburl":"" + }, + { + "uri":"opengauss_api_1023.html", + "node_id":"en-us_topic_0000001917290400.xml", + "product_code":"opengauss", + "code":"54", + "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":"Parameter Configuration", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], + "title":"Parameter Configuration", + "githuburl":"" + }, + { + "uri":"opengauss_api_1024.html", + "node_id":"en-us_topic_0000001917290728.xml", + "product_code":"opengauss", + "code":"55", + "des":"This API is used to modify parameters in the parameter template of a specified DB instance. Before calling this API:Learn how to authenticate this API.Understand the API ", + "doc_type":"api", + "kw":"Modifying Parameters of a Specified DB Instance,Parameter Configuration,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], + "title":"Modifying Parameters of a Specified DB Instance", "githuburl":"" }, { "uri":"opengauss_api_0030.html", + "node_id":"en-us_topic_0000001947569769.xml", "product_code":"opengauss", - "code":"23", + "code":"56", "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":"Appendix", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], "title":"Appendix", "githuburl":"" }, { "uri":"opengauss_api_0031.html", + "node_id":"en-us_topic_0000001917290524.xml", "product_code":"opengauss", - "code":"24", + "code":"57", "des":"Abnormal response descriptionAbnormal response descriptionNameTypeDescriptionerror_codeStringSpecifies the error returned when a task submission exception occurs.error_ms", "doc_type":"api", "kw":"Abnormal Request Results,Appendix,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], "title":"Abnormal Request Results", "githuburl":"" }, { "uri":"opengauss_api_0032.html", + "node_id":"en-us_topic_0000001917130452.xml", "product_code":"opengauss", - "code":"25", + "code":"58", "des":"Table 1 describes status codes.", "doc_type":"api", "kw":"Status Codes,Appendix,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], "title":"Status Codes", "githuburl":"" }, { "uri":"opengauss_api_0033.html", + "node_id":"en-us_topic_0000001947569625.xml", "product_code":"opengauss", - "code":"26", + "code":"59", "des":"The following table describes error codes.", "doc_type":"api", "kw":"Error Codes,Appendix,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], "title":"Error Codes", "githuburl":"" }, { "uri":"opengauss_api_0034.html", + "node_id":"en-us_topic_0000001917130752.xml", "product_code":"opengauss", - "code":"27", - "des":"When calling APIs, you need to specify the project ID in some URLs. To do so, you need to obtain the project ID first.On the My Credential page, view project IDs in the p", + "code":"60", + "des":"When calling APIs, you need to specify the project ID in some URLs. To do so, you need to obtain the project ID using either of the following methods:Obtaining the Projec", "doc_type":"api", "kw":"Obtaining a Project ID,Appendix,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], "title":"Obtaining a Project ID", "githuburl":"" }, { "uri":"opengauss_api_0036.html", + "node_id":"en-us_topic_0000001917290632.xml", "product_code":"opengauss", - "code":"28", + "code":"61", "des":"Replication mode table", "doc_type":"api", "kw":"Replication Mode Table,Appendix,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], "title":"Replication Mode Table", "githuburl":"" }, { "uri":"opengauss_api_0037.html", + "node_id":"en-us_topic_0000001917130736.xml", "product_code":"opengauss", - "code":"29", - "des":"This section describes the GaussDB(openGauss) DB instance class.", + "code":"62", + "des":"This section describes the GaussDB instance specifications.", "doc_type":"api", - "kw":"DB Instance Class,Appendix,API Reference", - "title":"DB Instance Class", + "kw":"DB Instance Specifications,Appendix,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], + "title":"DB Instance Specifications", "githuburl":"" }, { "uri":"opengauss_api_0038.html", + "node_id":"en-us_topic_0000001917290528.xml", "product_code":"opengauss", - "code":"30", + "code":"63", "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", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "IsMulti":"No", + "prodname":"opengauss;rds", + "opensource":"true", + "IsBot":"Yes" + } + ], "title":"Change History", "githuburl":"" } diff --git a/docs/opengauss/api-ref/CLASS.TXT.json b/docs/opengauss/api-ref/CLASS.TXT.json index 488d31b1..d01bd80e 100644 --- a/docs/opengauss/api-ref/CLASS.TXT.json +++ b/docs/opengauss/api-ref/CLASS.TXT.json @@ -9,7 +9,7 @@ "code":"1" }, { - "desc":"Welcome to GaussDB(openGauss) API Reference. GaussDB(openGauss) is a next-generation, enterprise-class distributed database. It is designed based on the shared-nothing ar", + "desc":"GaussDB is a distributed relational database. GaussDB supports distributed transactions and intra-city deployment across AZs for zero data loss, storage for petabytes of ", "product_code":"opengauss", "title":"Overview", "uri":"opengauss_api_0002.html", @@ -18,7 +18,7 @@ "code":"2" }, { - "desc":"GaussDB(openGauss) supports Representational State Transfer (REST) APIs, allowing you to call APIs using HTTPS. For details about API calling, see API Overview.", + "desc":"GaussDB supports Representational State Transfer (REST) APIs, allowing you to call APIs using HTTPS. For details about API calling, see API Overview.", "product_code":"opengauss", "title":"API Calling", "uri":"opengauss_api_0003.html", @@ -54,7 +54,7 @@ "code":"6" }, { - "desc":"GaussDB(openGauss) APIs enable you to use all GaussDB(openGauss) functions, including creating/deleting DB instances and scaling up instance storage space.", + "desc":"You can use APIs to create and delete DB instances, query DB instances, obtain and modify parameters of a specified DB instance, and set and query automated backup polici", "product_code":"opengauss", "title":"API Overview", "uri":"opengauss_api_0007.html", @@ -62,6 +62,42 @@ "p_code":"", "code":"7" }, + { + "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":"opengauss", + "title":"Calling APIs", + "uri":"opengauss_api_0008.html", + "doc_type":"api", + "p_code":"", + "code":"8" + }, + { + "desc":"This section describes the structure of a REST API and how to call an API. Before calling an API, you need to obtain the user token. The obtained token can then be used t", + "product_code":"opengauss", + "title":"Making an API Request", + "uri":"opengauss_api_0009.html", + "doc_type":"api", + "p_code":"8", + "code":"9" + }, + { + "desc":"Token authentication must be performed to call APIs.Token-based authentication: Requests are authenticated using a token.The validity period of a token is 24 hours. If a ", + "product_code":"opengauss", + "title":"Authentication", + "uri":"opengauss_api_0010.html", + "doc_type":"api", + "p_code":"8", + "code":"10" + }, + { + "desc":"After sending a request, you will receive a response, including the status code, response header, and response body.A status code is a group of digits ranging from 1xx to", + "product_code":"opengauss", + "title":"Response", + "uri":"opengauss_api_0011.html", + "doc_type":"api", + "p_code":"8", + "code":"11" + }, { "desc":"Public cloud APIs comply with the RESTful API design principles. REST-based web services are organized into resources. Each resource is identified by one or more Uniform ", "product_code":"opengauss", @@ -69,97 +105,124 @@ "uri":"opengauss_api_0012.html", "doc_type":"api", "p_code":"", - "code":"8" + "code":"12" }, { "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":"opengauss", - "title":"API", + "title":"APIs (Recommended)", "uri":"opengauss_api_0013.html", "doc_type":"api", "p_code":"", - "code":"9" + "code":"13" }, { "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":"opengauss", - "title":"DB Instance Management", + "title":"Instance Management", "uri":"opengauss_api_0014.html", "doc_type":"api", - "p_code":"9", - "code":"10" + "p_code":"13", + "code":"14" }, { - "desc":"This API is used to create a GaussDB(openGauss) DB instance. GaussDB(openGauss) supports distributed instances.Before calling an API, you need to understand the API in Us", + "desc":"This API is used to create a GaussDB instance. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain the required region and ", "product_code":"opengauss", "title":"Creating a DB Instance", "uri":"opengauss_api_0015.html", "doc_type":"api", - "p_code":"10", - "code":"11" + "p_code":"14", + "code":"15" }, { - "desc":"This API is used to scale up storage space of a DB instance.Before calling an API, you need to understand the API in Using APIs.Before calling this API, obtain the requir", + "desc":"This API is used to add CNs, add shards, or scale up storage. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain the requi", "product_code":"opengauss", - "title":"Scaling Up Storage Space of a DB Instance", + "title":"Adding CNs, Adding Shards, or Scaling Up Storage", "uri":"opengauss_api_0016.html", "doc_type":"api", - "p_code":"10", - "code":"12" + "p_code":"14", + "code":"16" }, { - "desc":"This API is used to delete a DB instance.Before calling an API, you need to understand the API in Using APIs.Before calling this API, obtain the required region and endpo", + "desc":"This API is used to delete a DB instance. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain the required region and endpo", "product_code":"opengauss", "title":"Deleting a DB Instance", "uri":"opengauss_api_0017.html", "doc_type":"api", - "p_code":"10", - "code":"13" + "p_code":"14", + "code":"17" }, { - "desc":"This API is used to query DB instances according to search criteria.Before calling an API, you need to understand the API in Using APIs.Before calling this API, obtain th", + "desc":"This API is used to query instances according to search criteria. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain the r", "product_code":"opengauss", - "title":"Querying Details About DB Instances", + "title":"Querying DB Instances", "uri":"opengauss_api_0018.html", "doc_type":"api", - "p_code":"10", - "code":"14" + "p_code":"14", + "code":"18" }, { - "desc":"This API is used to add CNs.Before calling an API, you need to understand the API in Using APIs.Before calling this API, obtain the required region and endpoint.The CN gr", - "product_code":"opengauss", - "title":"Adding CNs", - "uri":"opengauss_api_0019.html", - "doc_type":"api", - "p_code":"10", - "code":"15" - }, - { - "desc":"This API is used to add shards.Before calling an API, you need to understand the API in Using APIs.Before calling this API, obtain the required region and endpoint.Interm", - "product_code":"opengauss", - "title":"Adding Shards", - "uri":"opengauss_api_0020.html", - "doc_type":"api", - "p_code":"10", - "code":"16" - }, - { - "desc":"This API is used to reset a database password.Before calling an API, you need to understand the API in Using APIs.Before calling this API, obtain the required region and ", + "desc":"This API is used to reset a database password. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain the required region and ", "product_code":"opengauss", "title":"Resetting a Database Password", "uri":"opengauss_api_0021.html", "doc_type":"api", - "p_code":"10", - "code":"17" + "p_code":"14", + "code":"19" }, { - "desc":"This API is used to change a DB instance name.Before calling an API, you need to understand the API in Using APIs.Before calling this API, obtain the required region and ", + "desc":"This API is used to change an instance name. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain the required region and en", "product_code":"opengauss", - "title":"Modifying a DB Instance Name", + "title":"Changing a DB Instance Name", "uri":"opengauss_api_0022.html", "doc_type":"api", - "p_code":"10", - "code":"18" + "p_code":"14", + "code":"20" + }, + { + "desc":"This API is used to reboot a DB instance. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain the required region and endpo", + "product_code":"opengauss", + "title":"Rebooting a DB Instance", + "uri":"opengauss_newapi_0001.html", + "doc_type":"api", + "p_code":"14", + "code":"21" + }, + { + "desc":"This API is used to perform a primary/standby DN switchover for one or more shards. In a shard, only one standby node can be promoted to primary. Before calling this API:", + "product_code":"opengauss", + "title":"Switching Roles of the Primary and Standby DNs in Shards", + "uri":"opengauss_newapi_0029.html", + "doc_type":"api", + "p_code":"14", + "code":"22" + }, + { + "desc":"This API is used to query components of a DB instance. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain the required reg", + "product_code":"opengauss", + "title":"Querying the Components of a DB Instance", + "uri":"opengauss_newapi_0030.html", + "doc_type":"api", + "p_code":"14", + "code":"23" + }, + { + "desc":"This API is used to change the vCPUs and memory of a DB instance. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain the r", + "product_code":"opengauss", + "title":"Changing vCPUs and Memory of a DB Instance", + "uri":"opengauss_newapi_0031.html", + "doc_type":"api", + "p_code":"14", + "code":"24" + }, + { + "desc":"This API is used to change the port number of a specified DB instance. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain ", + "product_code":"opengauss", + "title":"Changing the Port Number of a Specified DB Instance", + "uri":"opengauss_api_1037.html", + "doc_type":"api", + "p_code":"14", + "code":"25" }, { "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.", @@ -167,17 +230,35 @@ "title":"Parameter Configuration", "uri":"opengauss_api_0023.html", "doc_type":"api", - "p_code":"9", - "code":"19" + "p_code":"13", + "code":"26" }, { - "desc":"This API is used to modify parameters in the parameter template of a specified DB instance.Before calling an API, you need to understand the API in Using APIs.Before call", + "desc":"This API is used to obtain parameter templates, including all databases' default and custom parameter templates. Before calling this API:Learn how to authenticate this AP", + "product_code":"opengauss", + "title":"Obtaining Parameter Templates", + "uri":"opengauss_newapi_0003.html", + "doc_type":"api", + "p_code":"26", + "code":"27" + }, + { + "desc":"This API is used to obtain parameters of a specified DB instance. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain the r", + "product_code":"opengauss", + "title":"Obtaining the Parameters of a Specified DB Instance", + "uri":"opengauss_newapi_0004.html", + "doc_type":"api", + "p_code":"26", + "code":"28" + }, + { + "desc":"This API is used to modify parameters in the parameter template of a specified DB instance. Before calling this API:Learn how to authenticate this API.Understand the API ", "product_code":"opengauss", "title":"Modifying Parameters of a Specified DB Instance", "uri":"opengauss_api_0024.html", "doc_type":"api", - "p_code":"19", - "code":"20" + "p_code":"26", + "code":"29" }, { "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.", @@ -185,17 +266,233 @@ "title":"Backup Management", "uri":"opengauss_api_0025.html", "doc_type":"api", - "p_code":"9", - "code":"21" + "p_code":"13", + "code":"30" }, { - "desc":"This API is used to set an automated backup policy.Before calling an API, you need to understand the API in Using APIs.Before calling this API, obtain the required region", + "desc":"This API is used to configure an automated backup policy. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain the required ", "product_code":"opengauss", - "title":"Setting an Automated Backup Policy", + "title":"Configuring an Automated Backup Policy", "uri":"opengauss_api_0026.html", "doc_type":"api", - "p_code":"21", - "code":"22" + "p_code":"30", + "code":"31" + }, + { + "desc":"This API is used to query an automated backup policy. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain the required regi", + "product_code":"opengauss", + "title":"Querying an Automated Backup Policy", + "uri":"opengauss_newapi_0022.html", + "doc_type":"api", + "p_code":"30", + "code":"32" + }, + { + "desc":"This API is used to obtain backups of an instance. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain the required region ", + "product_code":"opengauss", + "title":"Querying Backups", + "uri":"opengauss_newapi_0023.html", + "doc_type":"api", + "p_code":"30", + "code":"33" + }, + { + "desc":"This API is used to create a manual backup. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain the required region and end", + "product_code":"opengauss", + "title":"Creating a Manual Backup", + "uri":"opengauss_newapi_0024.html", + "doc_type":"api", + "p_code":"30", + "code":"34" + }, + { + "desc":"This API is used to delete a manual backup. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain the required region and end", + "product_code":"opengauss", + "title":"Deleting a Manual Backup", + "uri":"opengauss_newapi_0025.html", + "doc_type":"api", + "p_code":"30", + "code":"35" + }, + { + "desc":"This API is used to query the restoration time range of an instance. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain th", + "product_code":"opengauss", + "title":"Querying the Restoration Time Range", + "uri":"opengauss_newapi_0026.html", + "doc_type":"api", + "p_code":"30", + "code":"36" + }, + { + "desc":"This API is used to restore data to a new DB instance using backups. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain th", + "product_code":"opengauss", + "title":"Restoring Data to a New DB Instance", + "uri":"opengauss_newapi_0027.html", + "doc_type":"api", + "p_code":"30", + "code":"37" + }, + { + "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":"opengauss", + "title":"DB Engine Versions and Specifications", + "uri":"opengauss_newapi_0005.html", + "doc_type":"api", + "p_code":"13", + "code":"38" + }, + { + "desc":"This API is used to query DB engine versions supported by a DB instance. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtai", + "product_code":"opengauss", + "title":"Querying DB Engine Versions", + "uri":"opengauss_newapi_0006.html", + "doc_type":"api", + "p_code":"38", + "code":"39" + }, + { + "desc":"This API is used to query instance specifications. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain the required region ", + "product_code":"opengauss", + "title":"Querying Instance Specifications", + "uri":"opengauss_newapi_0007.html", + "doc_type":"api", + "p_code":"38", + "code":"40" + }, + { + "desc":"This API is used to query the disk type of a DB instance. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain the required ", + "product_code":"opengauss", + "title":"Querying Database Disk Type", + "uri":"opengauss_newapi_0028.html", + "doc_type":"api", + "p_code":"13", + "code":"41" + }, + { + "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":"opengauss", + "title":"Task Management", + "uri":"opengauss_newapi_0034.html", + "doc_type":"api", + "p_code":"13", + "code":"42" + }, + { + "desc":"This API is used to obtain information about a task with a specified ID. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtai", + "product_code":"opengauss", + "title":"Obtaining Task Information", + "uri":"opengauss_newapi_0035.html", + "doc_type":"api", + "p_code":"42", + "code":"43" + }, + { + "desc":"This API is used to query the tasks in the task center. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain the required re", + "product_code":"opengauss", + "title":"Querying Tasks", + "uri":"opengauss_newapi_0072.html", + "doc_type":"api", + "p_code":"42", + "code":"44" + }, + { + "desc":"This API is used to delete a task record. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain the required region and endpo", + "product_code":"opengauss", + "title":"Deleting a Task Record", + "uri":"opengauss_newapi_0073.html", + "doc_type":"api", + "p_code":"42", + "code":"45" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"opengauss", + "title":"Recycle Bin", + "uri":"opengauss_newapi_0036.html", + "doc_type":"api", + "p_code":"13", + "code":"46" + }, + { + "desc":"This API is used to modify the recycling policy. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain the required region an", + "product_code":"opengauss", + "title":"Modifying the Recycling Policy", + "uri":"opengauss_newapi_0037.html", + "doc_type":"api", + "p_code":"46", + "code":"47" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"opengauss", + "title":"Historical APIs", + "uri":"opengauss_api_1013.html", + "doc_type":"api", + "p_code":"", + "code":"48" + }, + { + "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":"opengauss", + "title":"DB Instance Management", + "uri":"opengauss_api_1014.html", + "doc_type":"api", + "p_code":"48", + "code":"49" + }, + { + "desc":"This API is used to scale up storage space of a DB instance. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain the requir", + "product_code":"opengauss", + "title":"Scaling up Storage Space of a DB Instance", + "uri":"opengauss_api_1016.html", + "doc_type":"api", + "p_code":"49", + "code":"50" + }, + { + "desc":"This API is used to delete a DB instance. Before calling this API:Learn how to authenticate this API.Understand the API in Using APIs.Obtain the required region and endpo", + "product_code":"opengauss", + "title":"Deleting a DB Instance", + "uri":"opengauss_api_1017.html", + "doc_type":"api", + "p_code":"49", + "code":"51" + }, + { + "desc":"This API is used to add CNs.Learn how to authenticate this API.Understand the API in Using APIs.Obtain the required region and endpoint.The CN growth increment ranges fro", + "product_code":"opengauss", + "title":"Adding CNs", + "uri":"opengauss_api_1019.html", + "doc_type":"api", + "p_code":"49", + "code":"52" + }, + { + "desc":"This API is used to add shards.Learn how to authenticate this API.Understand the API in Using APIs.Obtain the required region and endpoint.Intermittent disconnection occu", + "product_code":"opengauss", + "title":"Adding Shards", + "uri":"opengauss_api_1020.html", + "doc_type":"api", + "p_code":"49", + "code":"53" + }, + { + "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":"opengauss", + "title":"Parameter Configuration", + "uri":"opengauss_api_1023.html", + "doc_type":"api", + "p_code":"48", + "code":"54" + }, + { + "desc":"This API is used to modify parameters in the parameter template of a specified DB instance. Before calling this API:Learn how to authenticate this API.Understand the API ", + "product_code":"opengauss", + "title":"Modifying Parameters of a Specified DB Instance", + "uri":"opengauss_api_1024.html", + "doc_type":"api", + "p_code":"54", + "code":"55" }, { "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.", @@ -204,7 +501,7 @@ "uri":"opengauss_api_0030.html", "doc_type":"api", "p_code":"", - "code":"23" + "code":"56" }, { "desc":"Abnormal response descriptionAbnormal response descriptionNameTypeDescriptionerror_codeStringSpecifies the error returned when a task submission exception occurs.error_ms", @@ -212,8 +509,8 @@ "title":"Abnormal Request Results", "uri":"opengauss_api_0031.html", "doc_type":"api", - "p_code":"23", - "code":"24" + "p_code":"56", + "code":"57" }, { "desc":"Table 1 describes status codes.", @@ -221,8 +518,8 @@ "title":"Status Codes", "uri":"opengauss_api_0032.html", "doc_type":"api", - "p_code":"23", - "code":"25" + "p_code":"56", + "code":"58" }, { "desc":"The following table describes error codes.", @@ -230,17 +527,17 @@ "title":"Error Codes", "uri":"opengauss_api_0033.html", "doc_type":"api", - "p_code":"23", - "code":"26" + "p_code":"56", + "code":"59" }, { - "desc":"When calling APIs, you need to specify the project ID in some URLs. To do so, you need to obtain the project ID first.On the My Credential page, view project IDs in the p", + "desc":"When calling APIs, you need to specify the project ID in some URLs. To do so, you need to obtain the project ID using either of the following methods:Obtaining the Projec", "product_code":"opengauss", "title":"Obtaining a Project ID", "uri":"opengauss_api_0034.html", "doc_type":"api", - "p_code":"23", - "code":"27" + "p_code":"56", + "code":"60" }, { "desc":"Replication mode table", @@ -248,17 +545,17 @@ "title":"Replication Mode Table", "uri":"opengauss_api_0036.html", "doc_type":"api", - "p_code":"23", - "code":"28" + "p_code":"56", + "code":"61" }, { - "desc":"This section describes the GaussDB(openGauss) DB instance class.", + "desc":"This section describes the GaussDB instance specifications.", "product_code":"opengauss", - "title":"DB Instance Class", + "title":"DB Instance Specifications", "uri":"opengauss_api_0037.html", "doc_type":"api", - "p_code":"23", - "code":"29" + "p_code":"56", + "code":"62" }, { "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.", @@ -267,6 +564,6 @@ "uri":"opengauss_api_0038.html", "doc_type":"api", "p_code":"", - "code":"30" + "code":"63" } ] \ No newline at end of file diff --git a/docs/opengauss/api-ref/en-us_image_0000001072599100.jpg b/docs/opengauss/api-ref/en-us_image_0000001072599100.jpg deleted file mode 100644 index 9a3a0c8d..00000000 Binary files a/docs/opengauss/api-ref/en-us_image_0000001072599100.jpg and /dev/null differ diff --git a/docs/opengauss/api-ref/en-us_image_0000001072791022.gif b/docs/opengauss/api-ref/en-us_image_0000001072791022.gif deleted file mode 100644 index 493d4482..00000000 Binary files a/docs/opengauss/api-ref/en-us_image_0000001072791022.gif and /dev/null differ diff --git a/docs/opengauss/api-ref/figure/en-us_image_0000001791269145.jpg b/docs/opengauss/api-ref/figure/en-us_image_0000001791269145.jpg new file mode 100644 index 00000000..b1ebcd10 Binary files /dev/null and b/docs/opengauss/api-ref/figure/en-us_image_0000001791269145.jpg differ diff --git a/docs/opengauss/api-ref/figure/en-us_image_0000001791349361.png b/docs/opengauss/api-ref/figure/en-us_image_0000001791349361.png new file mode 100644 index 00000000..d4a37a97 Binary files /dev/null and b/docs/opengauss/api-ref/figure/en-us_image_0000001791349361.png differ diff --git a/docs/opengauss/api-ref/figure/en-us_image_0000001917130848.png b/docs/opengauss/api-ref/figure/en-us_image_0000001917130848.png new file mode 100644 index 00000000..afc189e8 Binary files /dev/null and b/docs/opengauss/api-ref/figure/en-us_image_0000001917130848.png differ diff --git a/docs/opengauss/api-ref/figure/en-us_image_0000001917290796.png b/docs/opengauss/api-ref/figure/en-us_image_0000001917290796.png new file mode 100644 index 00000000..d4a37a97 Binary files /dev/null and b/docs/opengauss/api-ref/figure/en-us_image_0000001917290796.png differ diff --git a/docs/opengauss/api-ref/figure/en-us_image_0000001917290800.jpg b/docs/opengauss/api-ref/figure/en-us_image_0000001917290800.jpg new file mode 100644 index 00000000..b1ebcd10 Binary files /dev/null and b/docs/opengauss/api-ref/figure/en-us_image_0000001917290800.jpg differ diff --git a/docs/opengauss/api-ref/opengauss_api_0001.html b/docs/opengauss/api-ref/opengauss_api_0001.html index 55112031..497c585a 100644 --- a/docs/opengauss/api-ref/opengauss_api_0001.html +++ b/docs/opengauss/api-ref/opengauss_api_0001.html @@ -1,4 +1,4 @@ - +
Welcome to GaussDB(openGauss) API Reference. GaussDB(openGauss) is a next-generation, enterprise-class distributed database. It is designed based on the shared-nothing architecture and supports both x86 and Kunpeng CPU architectures. It features the following: high-throughput, strong-consistency transaction processing capabilities, financial-grade HA with 3DC geo-redundant DR, high scalability with a distributed architecture, and high-performance big data query capabilities. GaussDB(openGauss) is suitable for core systems used in a wide range of sectors, such as finance, telecom, and government.
-This document describes how to use application programming interfaces (APIs) to perform operations on DB instances, such as DB instance creation, deletion, query, parameter modifications, and scaling. For details about all supported operations, see API Overview.
+GaussDB is a distributed relational database. GaussDB supports distributed transactions and intra-city deployment across AZs for zero data loss, storage for petabytes of data, and scale-out to more than 1,000 nodes. It is highly available, secure, and scalable and provides services including quick deployment, backup, restoration, monitoring, and alarm reporting for enterprises.
+This document describes how to use application programming interfaces (APIs) to perform operations on instances, such as creating, deleting, querying and scaling out instances. For operation details, see API Overview.
GaussDB(openGauss) supports Representational State Transfer (REST) APIs, allowing you to call APIs using HTTPS. For details about API calling, see API Overview.
+GaussDB supports Representational State Transfer (REST) APIs, allowing you to call APIs using HTTPS. For details about API calling, see API Overview.
An endpoint is the request address for calling an API. Endpoints vary depending on services and regions. For the endpoints of all services, see Regions and Endpoints.
+An endpoint is the request address for calling an API. Endpoints vary depending on services and regions. For the endpoints of all services, see Regions and Endpoints.
For more constraints, see API description.
A domain is created upon successful registration. The domain has full access permissions for all of its cloud services and resources. It can be used to reset user passwords and grant user permissions. The domain is a payment entity and should not be used directly to perform routine management. For security purposes, create IAM users and grant them permissions for routine management.
+A domain is created upon successful registration. The domain has full access permissions for all of its cloud services and resources. It can be used to reset user passwords and grant user permissions. To ensure account security, do not use the domain for routine management.
An IAM user is created using an account to use cloud services. Each IAM user has its own identity credentials (password and access keys).
-The domain name, username, and password will be required for API authentication.
-A region is a geographic area in which cloud resources are deployed. Availability zones (AZs) in the same region can communicate with each other over an intranet, while AZs in different regions are isolated from each other. Deploying cloud resources in different regions can better suit certain user requirements or comply with local laws or regulations.
-An AZ contains one or more physical data centers. Each AZ has independent cooling, fire extinguishing, moisture-proof, and electricity facilities. Within an AZ, computing, network, storage, and other resources are logically divided into multiple clusters. AZs within a region are interconnected using high-speed optical fibers to support cross-AZ high-availability systems.
-Projects group and isolate resources (including compute, storage, and network resources) across physical regions. A default project is provided for each region, and subprojects can be created under each default project. Users can be granted permissions to access all resources in a specific project. For more refined access control, create subprojects under a project and purchase resources in the subprojects. Users can then be assigned permissions to access only specific resources in the subprojects.
-A user is created using an account to use cloud services. Each user has its own identity credentials (password and access keys).
+The domain name, username, and password will be required for API authentication.
+A region is a geographic area in which cloud resources are deployed. Availability zones (AZs) in the same region can communicate with each other over an intranet, while AZs in different regions are isolated from each other. Deploying cloud resources in different regions can better suit certain user requirements or comply with local laws or regulations.
+An AZ contains one or more physical data centers. Each AZ has independent cooling, fire extinguishing, moisture-proof, and electricity facilities. Within an AZ, computing, network, storage, and other resources are logically divided into multiple clusters. AZs within a region are interconnected using high-speed optical fibers to support cross-AZ high-availability systems.
+Projects group and isolate compute, storage, and network resources across physical regions. A default project is provided for each region, and subprojects can be created under each default project. Users can be granted permissions to access all resources in a specific project. For more refined access control, create subprojects under a project and purchase resources in the subprojects. Users can then be assigned permissions to access only specific resources in the subprojects.
+GaussDB(openGauss) APIs enable you to use all GaussDB(openGauss) functions, including creating/deleting DB instances and scaling up instance storage space.
+You can use APIs to create and delete DB instances, query DB instances, obtain and modify parameters of a specified DB instance, and set and query automated backup policies. For details, see the following table.
-Type +
![]() To simplify the URI display, each API is provided only with a resource-path and a request method. The URI-scheme of all APIs is HTTPS, and the endpoints of all APIs in the same region are identical. +Request MethodsThe HTTP protocol defines the following request methods that can be used to send a request to the server.
+
+
For example, in the case of the API used to obtain a user token, the request method is POST. The request is as follows: +
Request HeaderYou can also add additional header fields to a request, such as the fields required by a specified URI or HTTP method. For example, add Content-Type that defines a request body type to request for the authentication information. +Table 3 lists common request header fields.
+
+
The API used to obtain a user token does not require authentication. Therefore, only the Content-Type field needs to be added to requests for calling the API. An example of such requests is as follows.
+
(Optional) Request BodyThis part is optional. A request body is generally sent in a structured format (for example, JSON or XML), corresponding to Content-Type in the request header, and is used to transfer content other than the request header. If the request body contains full-width characters, these characters must be coded in UTF-8. +The request body varies according to the APIs. Certain APIs do not require the request body, such as the GET and DELETE APIs. +In the case of the API used to obtain a user token, the request parameters and parameter description can be obtained from the API request. The following provides an example request with a body included. Replace username, domainname, ******** (login password), and xxxxxxxxxxxxxxxxxx (project name) with actual values. You can obtain the values from Regions and Endpoints.
+![]() scope specifies where a token takes effect. In the example, the token takes effect only on the resources specified by the project ID. You can set scope to an account or a project under an account. In the following example, the token takes effect only for the resources in a specified project. For more information about this API, see Obtaining a User Token. ++POST https://{{Endpoint}}/v3/auth/tokens +Content-Type: application/json + +{ + "auth": { + "identity": { + "methods": [ + "password" + ], + "password": { + "user": { + "name": "username", + "password": "********", + "domain": { + "name": "domainname" + } + } + } + }, + "scope": { + "project": { + "name": "xxxxxxxxxxxxxxxxxx" + } + } + } +}+ If all data required for the API request is available, you can send the request to call the API through curl, Postman, or coding. For the API used to obtain a user token, x-subject-token in the response header is the desired user token. This token can then be used to authenticate the calling of other APIs. +
+
+
diff --git a/docs/opengauss/api-ref/opengauss_api_0010.html b/docs/opengauss/api-ref/opengauss_api_0010.html
new file mode 100644
index 00000000..9b72f1bb
--- /dev/null
+++ b/docs/opengauss/api-ref/opengauss_api_0010.html
@@ -0,0 +1,49 @@
+
+
+
+
+Parent topic: Calling APIs
+Authentication+Token authentication must be performed to call APIs. +Token-based authentication: Requests are authenticated using a token. +Token Authentication![]() The validity period of a token is 24 hours. If a token is required, the system caches the token to avoid frequent calling. +A token specifies temporary permissions in a computer system. During API authentication using a token, the token is added to requests to get permissions for calling the API. +{ + "auth": { + "identity": { + "methods": [ + "password" + ], + "password": { + "user": { + "name": "username", + "password": "********", + "domain": { + "name": "domainname" + } + } + } + }, + "scope": { + "project": { + "name": "xxxxxxxx" + } + } + } + } ++ In Making an API Request, the process of calling the API used to obtain a user token is described. +After a token is obtained, add the X-Auth-Token header field must be added to requests to specify the token when calling other APIs. For example, if the token is ABCDEFJ...., X-Auth-Token: ABCDEFJ.... can be added to a request as follows: +
+
+
diff --git a/docs/opengauss/api-ref/opengauss_api_0011.html b/docs/opengauss/api-ref/opengauss_api_0011.html
new file mode 100644
index 00000000..e4455e97
--- /dev/null
+++ b/docs/opengauss/api-ref/opengauss_api_0011.html
@@ -0,0 +1,40 @@
+
+
+
+
+Parent topic: Calling APIs
+Response+Status CodeAfter sending a request, you will receive a response, including the status code, response header, and response body. +A status code is a group of digits ranging from 1xx to 5xx. It indicates the status of a response. For more information, see Status Codes. +For example, if status code 201 is returned for calling the API used to obtain a user token, the request is successful. +Response HeaderSimilar to a request, a response also has a header, for example, Content-Type. +Figure 1 shows the response header for the API used to obtain a user token. The x-subject-token header field is the desired user token. This token can then be used to authenticate the calling of other APIs. + +(Optional) Response BodyThis part is optional. The body of a response is often returned in structured format (for example, JSON or XML) as specified in the Content-Type header field. The response body transfers content except the response header. +The following is part of the response body for the API used to obtain a user token.
+{ + "token": { + "expires_at": "2019-02-13T06:52:13.855000Z", + "methods": [ + "password" + ], + "catalog": [ + { + "endpoints": [ + { + "region_id": "az-01", +......+ If an error occurs during API calling, an error code and a message will be displayed. The following shows an error response body.
+{ + "error_code": "AS.0001", + "error_msg": "The format of message is error" +} ++ In the response body, error_code is an error code, and error_msg provides information about the error. +
+
+
diff --git a/docs/opengauss/api-ref/opengauss_api_0012.html b/docs/opengauss/api-ref/opengauss_api_0012.html
index 2174df77..e1adbcd2 100644
--- a/docs/opengauss/api-ref/opengauss_api_0012.html
+++ b/docs/opengauss/api-ref/opengauss_api_0012.html
@@ -1,9 +1,8 @@
-
+
+
+Parent topic: Calling APIs
+Using APIs-Public cloud APIs comply with the RESTful API design principles. REST-based web services are organized into resources. Each resource is identified by one or more Uniform Resource Identifiers (URIs). An application accesses a resource based on the resource's Unified Resource Locator (URL). A URL is usually in the following format: https://Endpoint/uri. In the URL, uri indicates the resource path, that is, the API access path. -Public cloud APIs use HTTPS as the transmission protocol. Requests/Responses are transmitted by using JSON messages, with media type represented by Application/json. -For details about how to use APIs, see API Usage Guidelines. +Public cloud APIs comply with the RESTful API design principles. REST-based web services are organized into resources. Each resource is identified by one or more Uniform Resource Identifiers (URIs). An application accesses a resource based on the resource's Unified Resource Locator (URL). A URL is usually in the following format: https://Endpoint/uri. In the URL, uri indicates the resource path, that is, the API access path. +Public cloud APIs use HTTPS as the transmission protocol. Requests/Responses are transmitted by using JSON messages, with media type represented by Application/json. +For details about how to use APIs, see API Usage Guidelines. API- +APIs (Recommended)+DB Instance Management- +Instance Management+
-
Parent topic: API
+Parent topic: APIs (Recommended)
Creating a DB Instance-FunctionThis API is used to create a GaussDB(openGauss) DB instance. GaussDB(openGauss) supports distributed instances. -
FunctionThis API is used to create a GaussDB instance. Before calling this API: +
URI
|
---|