diff --git a/docs/dds/api-ref/ALL_META.TXT.json b/docs/dds/api-ref/ALL_META.TXT.json index b7e5c7a5a..d53888e15 100644 --- a/docs/dds/api-ref/ALL_META.TXT.json +++ b/docs/dds/api-ref/ALL_META.TXT.json @@ -5,7 +5,7 @@ "code":"1", "des":"This document describes application programming interfaces (APIs), syntax, parameters, and examples of Document Database Service (DDS). You can search for information you", "doc_type":"api", - "kw":"Before You Start,API Reference", + "kw":"Before You Start,dds api", "title":"Before You Start", "githuburl":"" }, @@ -15,7 +15,7 @@ "code":"2", "des":"DDS provides extension APIs, allowing you to perform specific operations using APIs.", "doc_type":"api", - "kw":"API Overview,API Reference", + "kw":"API Overview,dds api", "title":"API Overview", "githuburl":"" }, @@ -33,10 +33,10 @@ "uri":"dds_api_0010.html", "product_code":"dds", "code":"4", - "des":"If you use a token for authentication, you must obtain the user's token and add X-Auth-Token to the request message header of the service API when making an API call.This", + "des":"DDS supports token authentication.The validity period of a token is 24 hours. If a token needs to be used, the system caches the token to avoid frequent calling.A token s", "doc_type":"api", - "kw":"Token Authentication,Environment Preparations,API Reference", - "title":"Token Authentication", + "kw":"Authentication,Environment Preparations,dds api", + "title":"Authentication", "githuburl":"" }, { @@ -55,7 +55,7 @@ "code":"6", "des":"DDS open APIs allow users to create, view, or delete DB instances, query API versions, DB engines, DB engine versions, and DB instance class supported by the system. The ", "doc_type":"api", - "kw":"Scenarios,API Calling,API Reference", + "kw":"Scenarios,API Calling,dds api", "title":"Scenarios", "githuburl":"" }, @@ -65,7 +65,7 @@ "code":"7", "des":"API requests sent by third-party applications to public cloud services must be authenticated using signatures.Public cloud APIs follow RESTful API design rules.In REST, s", "doc_type":"api", - "kw":"REST APIs,API Calling,API Reference", + "kw":"REST APIs,API Calling,dds api", "title":"REST APIs", "githuburl":"" }, @@ -75,7 +75,7 @@ "code":"8", "des":"This section describes how to create a cluster instance by calling APIs.The validity period of a token obtained from IAM is 24 hours. If you want to use a token for authe", "doc_type":"api", - "kw":"Example,API Calling,API Reference", + "kw":"Example,API Calling,dds api", "title":"Example", "githuburl":"" }, @@ -85,8 +85,8 @@ "code":"9", "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 Description", - "title":"API Description", + "kw":"APIs V3.0 (Recommended)", + "title":"APIs V3.0 (Recommended)", "githuburl":"" }, { @@ -103,9 +103,9 @@ "uri":"dds_api_0018.html", "product_code":"dds", "code":"11", - "des":"This API is used to query the currently supported API version list.URI formatGET /GET /Parameter descriptionN/AN/ARequest headerGET https://DDS endpoint/Request bodyN/AN/", + "des":"This API is used to query the currently supported API version list.URI formatGET https://{Endpoint}/GET https://{Endpoint}/Parameter descriptionN/AN/ANoneParameter descri", "doc_type":"api", - "kw":"Querying the API Version List,Querying the API Version,API Reference", + "kw":"Querying the API Version List,Querying the API Version,dds api", "title":"Querying the API Version List", "githuburl":"" }, @@ -113,9 +113,9 @@ "uri":"dds_api_0019.html", "product_code":"dds", "code":"12", - "des":"This API is used to query the specified API version.URI formatGET /v3Request headerGET https://DDS endpoint/v3Request bodyN/AN/AParameter descriptionParameter description", + "des":"This API is used to query the specified API version.URI formatGET https://{Endpoint}/{version}GET https://{Endpoint}/{version}Parameter descriptionN/AN/AExample requestGE", "doc_type":"api", - "kw":"Querying API Version Information,Querying the API Version,API Reference", + "kw":"Querying API Version Information,Querying the API Version,dds api", "title":"Querying API Version Information", "githuburl":"" }, @@ -123,26 +123,36 @@ "uri":"dds_database_version.html", "product_code":"dds", "code":"13", - "des":"This API is used to obtain database version information about a specified type of a DB instance.URI formatGET /v3/{project_id}/datastores/{datastore_name}/versionsGET /v3", + "des":"This API is used to obtain database version information about a specified type of a DB instance.URI formatGET https://{Endpoint}/v3/{project_id}/datastores/{datastore_nam", "doc_type":"api", - "kw":"Querying Database Version Information,API Description,API Reference", + "kw":"Querying Database Version Information,APIs V3.0 (Recommended),dds api", "title":"Querying Database Version Information", "githuburl":"" }, { "uri":"dds_instance_specification.html", - "product_code":"", + "product_code":"dds", "code":"14", - "des":"This API is used to query all DB instance specifications in a specified region.URI formatGET /v3/{project_id}/flavors?region={region}&engine_name={engine_name}GET /v3/{pr", - "doc_type":"", - "kw":"Querying All DB Instance Specifications,API Description,API Reference", - "title":"Querying All DB Instance Specifications", + "des":"This API is used to query all instance specifications under a specified condition.URI formatGET https://{Endpoint}/v3.1/{project_id}/flavors?engine_name={engine_name}&eng", + "doc_type":"api", + "kw":"Querying Database Specifications,APIs V3.0 (Recommended),dds api", + "title":"Querying Database Specifications", + "githuburl":"" + }, + { + "uri":"dds_api_0039.html", + "product_code":"dds", + "code":"15", + "des":"This API is used to query the database disk type in the current region.URI formatGET https://{Endpoint}/v3/{project_id}/storage-type?engine_name={engine_name}GET https://", + "doc_type":"api", + "kw":"Querying the Database Disk Type,APIs V3.0 (Recommended),dds api", + "title":"Querying the Database Disk Type", "githuburl":"" }, { "uri":"dds_instance_mgmt.html", "product_code":"dds", - "code":"15", + "code":"16", "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", @@ -152,90 +162,590 @@ { "uri":"dds_api_0020.html", "product_code":"dds", - "code":"16", - "des":"This API is used to create cluster, replica set, and single node instances.URI formatPOST /v3/{project_id}/instancesPOST /v3/{project_id}/instancesParameter descriptionPa", + "code":"17", + "des":"This API is used to create cluster, replica set, and single node instances.URI formatPOST https://{Endpoint}/v3/{project_id}/instancesPOST https://{Endpoint}/v3/{project_", "doc_type":"api", - "kw":"Creating a DB Instance,DB Instance Management,API Reference", + "kw":"Creating a DB Instance,DB Instance Management,dds api", "title":"Creating a DB Instance", "githuburl":"" }, + { + "uri":"dds_api_0021.html", + "product_code":"dds", + "code":"18", + "des":"This API is used to restart a DB instance.The DDS DB instance will be unavailable during the restart process. Exercise caution when performing this operation.If the insta", + "doc_type":"api", + "kw":"Restarting a DB Instance,DB Instance Management,dds api", + "title":"Restarting a DB Instance", + "githuburl":"" + }, { "uri":"dds_api_0022.html", "product_code":"dds", - "code":"17", - "des":"This API is used to delete a DB instance.URI formatDELETE /v3/{project_id}/instances/{instance_id}DELETE /v3/{project_id}/instances/{instance_id}Parameter descriptionPara", + "code":"19", + "des":"This API is used to delete a DB instance.URI formatDELETE https://{Endpoint}/v3/{project_id}/instances/{instance_id}DELETE https://{Endpoint}/v3/{project_id}/instances/{i", "doc_type":"api", - "kw":"Deleting a DB Instance,DB Instance Management,API Reference", + "kw":"Deleting a DB Instance,DB Instance Management,dds api", "title":"Deleting a DB Instance", "githuburl":"" }, { "uri":"dds_api_0023.html", - "product_code":"", - "code":"18", - "des":"This API is used to query DB instances based on specified conditions.URI formatGET /v3/{project_id}/instances?id={id}&name={name}&mode={mode}&datastore_type={datastore_ty", - "doc_type":"", - "kw":"Querying DB Instances,DB Instance Management,API Reference", - "title":"Querying DB Instances", + "product_code":"dds", + "code":"20", + "des":"This API is used to query instances and details based on specified conditions.URI formatGET https://{Endpoint}/v3/{project_id}/instances?id={id}&name={name}&mode={mode}&d", + "doc_type":"api", + "kw":"Querying Instances and Details,DB Instance Management,dds api", + "title":"Querying Instances and Details", + "githuburl":"" + }, + { + "uri":"dds_api_0024.html", + "product_code":"dds", + "code":"21", + "des":"This API is used to scale up the storage space of a DB instance.URI formatPOST https://{Endpoint}/v3/{project_id}/instances/{instance_id}/enlarge-volumePOST https://{Endp", + "doc_type":"api", + "kw":"Scaling Up Storage Space,DB Instance Management,dds api", + "title":"Scaling Up Storage Space", + "githuburl":"" + }, + { + "uri":"dds_api_0025.html", + "product_code":"dds", + "code":"22", + "des":"This API is used to add nodes for a specified cluster instance.Only the mongos and shard nodes can be added.The specifications of the new node must be the same as those o", + "doc_type":"api", + "kw":"Adding Nodes for a Cluster Instance,DB Instance Management,dds api", + "title":"Adding Nodes for a Cluster Instance", + "githuburl":"" + }, + { + "uri":"dds_api_0026.html", + "product_code":"dds", + "code":"23", + "des":"This API is used to modify the instance specifications.Services will be interrupted for 5 to 10 minutes when you modify DB instance specifications. Exercise caution when ", + "doc_type":"api", + "kw":"Modifying DB Instance Specifications,DB Instance Management,dds api", + "title":"Modifying DB Instance Specifications", + "githuburl":"" + }, + { + "uri":"dds_api_0050.html", + "product_code":"dds", + "code":"24", + "des":"This API is used to perform a primary/secondary switchover in a replica set instance.This API supports only DDS replica sets.This operation cannot be performed on frozen ", + "doc_type":"api", + "kw":"Performing a Primary/Secondary Switchover in a Replica Set Instance,DB Instance Management,dds api", + "title":"Performing a Primary/Secondary Switchover in a Replica Set Instance", + "githuburl":"" + }, + { + "uri":"dds_api_0051.html", + "product_code":"dds", + "code":"25", + "des":"This API is used to enable or disable SSL.This operation cannot be performed on frozen or abnormal instances.The DB instance must be restarted to make port number modific", + "doc_type":"api", + "kw":"Enabling or Disabling SSL,DB Instance Management,dds api", + "title":"Enabling or Disabling SSL", + "githuburl":"" + }, + { + "uri":"dds_api_0053.html", + "product_code":"dds", + "code":"26", + "des":"This API is used to modify a DB instance name.The name of the DB instance that is being created or fails to be created cannot be modified.URI formatPUT https://{Endpoint}", + "doc_type":"api", + "kw":"Modifying a DB Instance Name,DB Instance Management,dds api", + "title":"Modifying a DB Instance Name", + "githuburl":"" + }, + { + "uri":"dds_api_0054.html", + "product_code":"dds", + "code":"27", + "des":"This API is used to change a database port.This operation cannot be performed on frozen or abnormal instances.The DB instance must be restarted to make port number modifi", + "doc_type":"api", + "kw":"Changing a Database Port,DB Instance Management,dds api", + "title":"Changing a Database Port", + "githuburl":"" + }, + { + "uri":"dds_api_0055.html", + "product_code":"dds", + "code":"28", + "des":"This API is used to change the security group associated with a DB instance.Abnormal instances do not support this operation.Please confirm the modified security group po", + "doc_type":"api", + "kw":"Changing a Security Group,DB Instance Management,dds api", + "title":"Changing a Security Group", + "githuburl":"" + }, + { + "uri":"dds_api_0056.html", + "product_code":"dds", + "code":"29", + "des":"This API is used to bind an EIP to a node in a DB instance.This operation cannot be performed on frozen or abnormal instances.Hidden nodes do not support this operation.M", + "doc_type":"api", + "kw":"Binding an EIP,DB Instance Management,dds api", + "title":"Binding an EIP", + "githuburl":"" + }, + { + "uri":"dds_api_0057.html", + "product_code":"dds", + "code":"30", + "des":"This API is used to unbind an EIP from a node in a DB instance.Frozen instances do not support this operation.This operation can be performed only on a node with an EIP a", + "doc_type":"api", + "kw":"Unbinding an EIP,DB Instance Management,dds api", + "title":"Unbinding an EIP", + "githuburl":"" + }, + { + "uri":"dds_api_0058.html", + "product_code":"dds", + "code":"31", + "des":"This API is used to change the private IP address of a DB instance.This operation cannot be performed on frozen or abnormal instances.An in-use IP address cannot be used ", + "doc_type":"api", + "kw":"Changing a Private IP Address,DB Instance Management,dds api", + "title":"Changing a Private IP Address", + "githuburl":"" + }, + { + "uri":"dds_api_0120.html", + "product_code":"dds", + "code":"32", + "des":"This API is used to enable the IP addresses of shard or config nodes.Frozen instances do not support this operation.DB instances associated with the IPv6 subnet do not su", + "doc_type":"api", + "kw":"Enabling Shard or Config IP Addresses,DB Instance Management,dds api", + "title":"Enabling Shard or Config IP Addresses", + "githuburl":"" + }, + { + "uri":"dds_connect_0001.html", + "product_code":"dds", + "code":"33", + "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":"Connection Management", + "title":"Connection Management", + "githuburl":"" + }, + { + "uri":"dds_connect_0002.html", + "product_code":"dds", + "code":"34", + "des":"This API is used to query sessions of instance nodes.Community Edition 3.4 and 4.0 instances are supported.URI formatGET https://{Endpoint}/v3/{project_id}/nodes/{node_id", + "doc_type":"api", + "kw":"Querying Sessions of an Instance Node,Connection Management,dds api", + "title":"Querying Sessions of an Instance Node", + "githuburl":"" + }, + { + "uri":"dds_connect_0003.html", + "product_code":"dds", + "code":"35", + "des":"This API is used to kill sessions of an instance node.Community Edition 3.4 and 4.0 instances are supported.Inactive sessions cannot be terminated.URI formatPOST https://", + "doc_type":"api", + "kw":"Killing Sessions of an Instance Node,Connection Management,dds api", + "title":"Killing Sessions of an Instance Node", + "githuburl":"" + }, + { + "uri":"dds_connect_0004.html", + "product_code":"dds", + "code":"36", + "des":"This API is used to query the number of connections from each client to DDS DB instances.Frozen instances do not support this operation.URI formatGET https://{Endpoint}/v", + "doc_type":"api", + "kw":"Querying the Number of Connections to an Instance Node,Connection Management,dds api", + "title":"Querying the Number of Connections to an Instance Node", + "githuburl":"" + }, + { + "uri":"dds_backup_restore.html", + "product_code":"dds", + "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":"api", + "kw":"Backup and Restoration", + "title":"Backup and Restoration", + "githuburl":"" + }, + { + "uri":"dds_api_0027.html", + "product_code":"dds", + "code":"38", + "des":"This API is used to create a manual backup for a DB instance.URI formatPOST https://{Endpoint}/v3/{project_id}/backupsPOST https://{Endpoint}/v3/{project_id}/backupsParam", + "doc_type":"api", + "kw":"Creating a Manual Backup,Backup and Restoration,dds api", + "title":"Creating a Manual Backup", + "githuburl":"" + }, + { + "uri":"dds_api_0028.html", + "product_code":"dds", + "code":"39", + "des":"This API is used to delete a manual backup for a DB instance.URI formatDELETE https://{Endpoint}/v3/{project_id}/backups/{backup_id}DELETE https://{Endpoint}/v3/{project_", + "doc_type":"api", + "kw":"Deleting a Manual Backup,Backup and Restoration,dds api", + "title":"Deleting a Manual Backup", + "githuburl":"" + }, + { + "uri":"dds_api_0029.html", + "product_code":"dds", + "code":"40", + "des":"This API is used to query backups based on specified conditions.URI formatGET https://{Endpoint}/v3/{project_id}/backups?instance_id={instance_id}&backup_id={backup_id}&b", + "doc_type":"api", + "kw":"Querying the Backup List,Backup and Restoration,dds api", + "title":"Querying the Backup List", + "githuburl":"" + }, + { + "uri":"dds_api_0030.html", + "product_code":"dds", + "code":"41", + "des":"This API is used to query an automated backup policy.URI formatGET https://{Endpoint}/v3/{project_id}/instances/{instance_id}/backups/policyGET https://{Endpoint}/v3/{pro", + "doc_type":"api", + "kw":"Querying an Automated Backup Policy,Backup and Restoration,dds api", + "title":"Querying an Automated Backup Policy", + "githuburl":"" + }, + { + "uri":"dds_api_0031.html", + "product_code":"dds", + "code":"42", + "des":"This API is used to set an automated backup policy.URI formatPUT https://{Endpoint}/v3/{project_id}/instances/{instance_id}/backups/policyPUT https://{Endpoint}/v3/{proje", + "doc_type":"api", + "kw":"Setting an Automated Backup Policy,Backup and Restoration,dds api", + "title":"Setting an Automated Backup Policy", + "githuburl":"" + }, + { + "uri":"dds_api_0038.html", + "product_code":"dds", + "code":"43", + "des":"This API is used to restore a backup to a new DB instance.The database type of the destination DB instance must be the same as that of the source DB instance.Currently, o", + "doc_type":"api", + "kw":"Restoring Data to a New DB Instance,Backup and Restoration,dds api", + "title":"Restoring Data to a New DB Instance", + "githuburl":"" + }, + { + "uri":"dds_api_0059.html", + "product_code":"dds", + "code":"44", + "des":"This API is used to obtain the link for downloading a backup file.The backup download link is valid within 15 minutes after being updated.URI formatGET https://{Endpoint}", + "doc_type":"api", + "kw":"Obtaining the Link for Downloading a Backup File,Backup and Restoration,dds api", + "title":"Obtaining the Link for Downloading a Backup File", + "githuburl":"" + }, + { + "uri":"dds_api_0080.html", + "product_code":"dds", + "code":"45", + "des":"This API is used to query the restoration time range of a DB instance.Currently, this API only supports replica set instances and cluster instances 4.0.URI formatGET http", + "doc_type":"api", + "kw":"Querying the Restoration Time Ranges,Backup and Restoration,dds api", + "title":"Querying the Restoration Time Ranges", + "githuburl":"" + }, + { + "uri":"dds_api_0081.html", + "product_code":"dds", + "code":"46", + "des":"This API is used to obtain the list of databases that can be restored.This API applies only to replica sets.URI formatGET https://{Endpoint}/v3/{project_id}/instances/{in", + "doc_type":"api", + "kw":"Obtaining the List of Databases That Can Be Restored,Backup and Restoration,dds api", + "title":"Obtaining the List of Databases That Can Be Restored", + "githuburl":"" + }, + { + "uri":"dds_api_0082.html", + "product_code":"dds", + "code":"47", + "des":"This API is used to obtain the list of databases collections that can be restored.This API applies only to replica sets.URI formatGET https://{Endpoint}/v3/{project_id}/i", + "doc_type":"api", + "kw":"Obtaining the List of Database Collections That Can Be Restored,Backup and Restoration,dds api", + "title":"Obtaining the List of Database Collections That Can Be Restored", + "githuburl":"" + }, + { + "uri":"dds_api_0083.html", + "product_code":"dds", + "code":"48", + "des":"This API is used to restore data to the original DB instance.URI formatPOST https://{Endpoint}/v3/{project_id}/instances/recoveryPOST https://{Endpoint}/v3/{project_id}/i", + "doc_type":"api", + "kw":"Restoring Data to the Original DB Instance,Backup and Restoration,dds api", + "title":"Restoring Data to the Original DB Instance", + "githuburl":"" + }, + { + "uri":"dds_api_0084.html", + "product_code":"dds", + "code":"49", + "des":"This API is used to restore databases and tables at a point in time.This API applies only to replica sets.URI formatPOST https://{Endpoint}/v3/{project_id}/instances/{ins", + "doc_type":"api", + "kw":"Restoring Databases and Tables to a Point in Time,Backup and Restoration,dds api", + "title":"Restoring Databases and Tables to a Point in Time", + "githuburl":"" + }, + { + "uri":"dds_api_0092.html", + "product_code":"dds", + "code":"50", + "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":"Log Information Queries", + "title":"Log Information Queries", + "githuburl":"" + }, + { + "uri":"dds_api_0093.html", + "product_code":"dds", + "code":"51", + "des":"This API is used to query database slow logs.A maximum of 2000 records can be queried within the period specified by start_date and end_date.URI formatGET https://{Endpoi", + "doc_type":"api", + "kw":"Querying Database Slow Logs,Log Information Queries,dds api", + "title":"Querying Database Slow Logs", + "githuburl":"" + }, + { + "uri":"dds_api_0094.html", + "product_code":"dds", + "code":"52", + "des":"This API is used to obtain links for downloading slow query logs.The link for downloading slow query logs is valid within 15 minutes after being updated.URI formatPOSThtt", + "doc_type":"api", + "kw":"Obtaining Links for Downloading Slow Query Logs,Log Information Queries,dds api", + "title":"Obtaining Links for Downloading Slow Query Logs", + "githuburl":"" + }, + { + "uri":"dds_api_0095.html", + "product_code":"dds", + "code":"53", + "des":"This API is used to query database error logs.A maximum of 2000 records can be queried within the period specified by start_date and end_date.URI formatGET https://{Endpo", + "doc_type":"api", + "kw":"Querying Database Error Logs,Log Information Queries,dds api", + "title":"Querying Database Error Logs", + "githuburl":"" + }, + { + "uri":"dds_api_0096.html", + "product_code":"dds", + "code":"54", + "des":"This API is used to obtain the download link of error logs.The link for downloading error logs is valid within 15 minutes after being updated.URI formatPOST https://{Endp", + "doc_type":"api", + "kw":"Obtaining Links for Downloading Error Logs,Log Information Queries,dds api", + "title":"Obtaining Links for Downloading Error Logs", + "githuburl":"" + }, + { + "uri":"dds_api_0097.html", + "product_code":"dds", + "code":"55", + "des":"This API is used to set a policy for SQL audit logs.URI formatPOST https://{Endpoint}/v3/{project_id}/instances/{instance_id}/auditlog-policyPOST https://{Endpoint}/v3/{p", + "doc_type":"api", + "kw":"Setting SQL Audit,Log Information Queries,dds api", + "title":"Setting SQL Audit", + "githuburl":"" + }, + { + "uri":"dds_api_0098.html", + "product_code":"dds", + "code":"56", + "des":"This API is used to query the policy for SQL audit logs.URI formatGET https://{Endpoint}/v3/{project_id}/instances/{instance_id}/auditlog-policyGET https://{Endpoint}/v3/", + "doc_type":"api", + "kw":"Querying SQL Audit Policy,Log Information Queries,dds api", + "title":"Querying SQL Audit Policy", + "githuburl":"" + }, + { + "uri":"dds_api_0099.html", + "product_code":"dds", + "code":"57", + "des":"This API is used to obtain an audit log list.URI formatGET https://{Endpoint}/v3/{project_id}/instances/{instance_id}/auditlog?start_time={start_time}&end_time={end_time}", + "doc_type":"api", + "kw":"Obtaining the Audit Log List,Log Information Queries,dds api", + "title":"Obtaining the Audit Log List", + "githuburl":"" + }, + { + "uri":"dds_api_0100.html", + "product_code":"dds", + "code":"58", + "des":"This API is used to obtain the link for downloading audit logs.URI formatPOST https://{Endpoint}/v3/{project_id}/instances/{instance_id}/auditlog-linksPOST https://{Endpo", + "doc_type":"api", + "kw":"Obtaining Links for Downloading Audit Logs,Log Information Queries,dds api", + "title":"Obtaining Links for Downloading Audit Logs", + "githuburl":"" + }, + { + "uri":"dds_tag_mgmt.html", + "product_code":"dds", + "code":"59", + "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":"Tag Management", + "title":"Tag Management", + "githuburl":"" + }, + { + "uri":"dds_api_0032.html", + "product_code":"dds", + "code":"60", + "des":"This API is used to query the specified DB instances by tag.A maximum of 20 tags can be added to a DB instance. The tag key must be unique.URI formatPOST https://{Endpoin", + "doc_type":"api", + "kw":"Querying Resources by Tag,Tag Management,dds api", + "title":"Querying Resources by Tag", + "githuburl":"" + }, + { + "uri":"dds_api_0033.html", + "product_code":"dds", + "code":"61", + "des":"This API is used to add or delete tags of the specified instance in batches.A maximum of 20 tags can be added to a DB instance. The tag key must be unique.If the request ", + "doc_type":"api", + "kw":"Adding or Deleting Resource Tags in Batches,Tag Management,dds api", + "title":"Adding or Deleting Resource Tags in Batches", + "githuburl":"" + }, + { + "uri":"dds_api_0034.html", + "product_code":"dds", + "code":"62", + "des":"This API is used to query tags of a specified resource.A maximum of 20 tags can be added to a DB instance. The tag key must be unique.URI formatGET https://{Endpoint}/v3/", + "doc_type":"api", + "kw":"Querying Resource Tags,Tag Management,dds api", + "title":"Querying Resource Tags", + "githuburl":"" + }, + { + "uri":"dds_api_0035.html", + "product_code":"dds", + "code":"63", + "des":"This API is used to query all tags of instances in a specified project.URI formatGET https://{Endpoint}/v3/{project_id}/tagsGET https://{Endpoint}/v3/{project_id}/tagsPar", + "doc_type":"api", + "kw":"Querying Tags in a Specified Project,Tag Management,dds api", + "title":"Querying Tags in a Specified Project", + "githuburl":"" + }, + { + "uri":"dds_api_0117.html", + "product_code":"dds", + "code":"64", + "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", + "title":"Task Management", + "githuburl":"" + }, + { + "uri":"dds_api_0118.html", + "product_code":"dds", + "code":"65", + "des":"This API is used to obtain information about a task with a specified ID in the task center.Currently, only asynchronous tasks in the task center of DDS Community Edition ", + "doc_type":"api", + "kw":"Obtaining Information About a Task with a Specified ID,Task Management,dds api", + "title":"Obtaining Information About a Task with a Specified ID", + "githuburl":"" + }, + { + "uri":"dds_api_permission.html", + "product_code":"dds", + "code":"66", + "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":"Permissions Policies and Supported Actions", + "title":"Permissions Policies and Supported Actions", + "githuburl":"" + }, + { + "uri":"dds_api_0036.html", + "product_code":"dds", + "code":"67", + "des":"This chapter describes fine-grained permissions management for your DDS. If your account does not need individual IAM users, then you may skip over this chapter.By defaul", + "doc_type":"api", + "kw":"Introduction,Permissions Policies and Supported Actions,dds api", + "title":"Introduction", + "githuburl":"" + }, + { + "uri":"dds_api_0037.html", + "product_code":"dds", + "code":"68", + "des":"The check mark (√) indicates that an action takes effect. The cross mark (x) indicates that an action does not take effect.", + "doc_type":"api", + "kw":"DDS Actions,Permissions Policies and Supported Actions,dds api", + "title":"DDS Actions", "githuburl":"" }, { "uri":"dds_public_parameters.html", "product_code":"dds", - "code":"19", + "code":"69", "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", "title":"Appendix", "githuburl":"" }, + { + "uri":"dds_api_0060.html", + "product_code":"dds", + "code":"70", + "des":"Abnormal responsesParameter descriptionNameTypeDescriptionerror_codeStringSpecifies the error returned when a task submission exception occurs.error_msgStringSpecifies th", + "doc_type":"api", + "kw":"Abnormal Request Results,Appendix,dds api", + "title":"Abnormal Request Results", + "githuburl":"" + }, { "uri":"dds_status_code.html", "product_code":"dds", - "code":"20", + "code":"71", "des":"NormalStatus CodeMessageDescription200OKRequest succeeded.202AcceptedAsynchronous request submitted successfully.AbnormalStatus CodeMessageDescription400Bad RequestInvali", "doc_type":"api", - "kw":"Status Code,Appendix,API Reference", + "kw":"Status Code,Appendix,dds api", "title":"Status Code", "githuburl":"" }, { "uri":"dds_error_code.html", "product_code":"dds", - "code":"21", + "code":"72", "des":"If an error occurs in an API, no result is returned. You can locate the error cause based on the error codes of each API. When the invocation fails, an HTTP status code i", "doc_type":"api", - "kw":"Error Code,Appendix,API Reference", + "kw":"Error Code,Appendix,dds api", "title":"Error Code", "githuburl":"" }, { "uri":"dds_projectid.html", - "product_code":"", - "code":"22", - "des":"A project ID is required for some URLs when an API is called. Therefore, you need to obtain a project ID in advance. Two methods are available:Obtaining the Project ID by", - "doc_type":"", - "kw":"Obtaining a Project ID,Appendix,API Reference", + "product_code":"dds", + "code":"73", + "des":"A project ID is required for some URLs when an API is called. To obtain the project ID:Obtaining the Project ID by Calling an APIObtain a Project ID from the ConsoleThe A", + "doc_type":"api", + "kw":"Obtaining a Project ID,Appendix,dds api", "title":"Obtaining a Project ID", "githuburl":"" }, { "uri":"dds_metrics.html", "product_code":"dds", - "code":"23", + "code":"74", "des":"This section describes metrics reported by Document Database Service (DDS) to Cloud Eye as well as their namespaces and dimensions. You can use APIs provided by Cloud Eye", "doc_type":"api", - "kw":"DDS Metrics,Appendix,API Reference", + "kw":"DDS Metrics,Appendix,dds api", "title":"DDS Metrics", "githuburl":"" }, { "uri":"dds_change_history.html", - "product_code":"", - "code":"24", + "product_code":"dds", + "code":"75", "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":"", - "kw":"Change History,API Reference", + "doc_type":"api", + "kw":"Change History,dds api", "title":"Change History", "githuburl":"" } diff --git a/docs/dds/api-ref/CLASS.TXT.json b/docs/dds/api-ref/CLASS.TXT.json index 18e36f113..d09fe9b32 100644 --- a/docs/dds/api-ref/CLASS.TXT.json +++ b/docs/dds/api-ref/CLASS.TXT.json @@ -27,9 +27,9 @@ "code":"3" }, { - "desc":"If you use a token for authentication, you must obtain the user's token and add X-Auth-Token to the request message header of the service API when making an API call.This", + "desc":"DDS supports token authentication.The validity period of a token is 24 hours. If a token needs to be used, the system caches the token to avoid frequent calling.A token s", "product_code":"dds", - "title":"Token Authentication", + "title":"Authentication", "uri":"dds_api_0010.html", "doc_type":"api", "p_code":"3", @@ -74,7 +74,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":"dds", - "title":"API Description", + "title":"APIs V3.0 (Recommended)", "uri":"dds_api_description.html", "doc_type":"api", "p_code":"", @@ -90,7 +90,7 @@ "code":"10" }, { - "desc":"This API is used to query the currently supported API version list.URI formatGET /GET /Parameter descriptionN/AN/ARequest headerGET https://DDS endpoint/Request bodyN/AN/", + "desc":"This API is used to query the currently supported API version list.URI formatGET https://{Endpoint}/GET https://{Endpoint}/Parameter descriptionN/AN/ANoneParameter descri", "product_code":"dds", "title":"Querying the API Version List", "uri":"dds_api_0018.html", @@ -99,7 +99,7 @@ "code":"11" }, { - "desc":"This API is used to query the specified API version.URI formatGET /v3Request headerGET https://DDS endpoint/v3Request bodyN/AN/AParameter descriptionParameter description", + "desc":"This API is used to query the specified API version.URI formatGET https://{Endpoint}/{version}GET https://{Endpoint}/{version}Parameter descriptionN/AN/AExample requestGE", "product_code":"dds", "title":"Querying API Version Information", "uri":"dds_api_0019.html", @@ -108,7 +108,7 @@ "code":"12" }, { - "desc":"This API is used to obtain database version information about a specified type of a DB instance.URI formatGET /v3/{project_id}/datastores/{datastore_name}/versionsGET /v3", + "desc":"This API is used to obtain database version information about a specified type of a DB instance.URI formatGET https://{Endpoint}/v3/{project_id}/datastores/{datastore_nam", "product_code":"dds", "title":"Querying Database Version Information", "uri":"dds_database_version.html", @@ -117,14 +117,23 @@ "code":"13" }, { - "desc":"This API is used to query all DB instance specifications in a specified region.URI formatGET /v3/{project_id}/flavors?region={region}&engine_name={engine_name}GET /v3/{pr", + "desc":"This API is used to query all instance specifications under a specified condition.URI formatGET https://{Endpoint}/v3.1/{project_id}/flavors?engine_name={engine_name}&eng", "product_code":"dds", - "title":"Querying All DB Instance Specifications", + "title":"Querying Database Specifications", "uri":"dds_instance_specification.html", "doc_type":"api", "p_code":"9", "code":"14" }, + { + "desc":"This API is used to query the database disk type in the current region.URI formatGET https://{Endpoint}/v3/{project_id}/storage-type?engine_name={engine_name}GET https://", + "product_code":"dds", + "title":"Querying the Database Disk Type", + "uri":"dds_api_0039.html", + "doc_type":"api", + "p_code":"9", + "code":"15" + }, { "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":"dds", @@ -132,34 +141,475 @@ "uri":"dds_instance_mgmt.html", "doc_type":"api", "p_code":"9", - "code":"15" + "code":"16" }, { - "desc":"This API is used to create cluster, replica set, and single node instances.URI formatPOST /v3/{project_id}/instancesPOST /v3/{project_id}/instancesParameter descriptionPa", + "desc":"This API is used to create cluster, replica set, and single node instances.URI formatPOST https://{Endpoint}/v3/{project_id}/instancesPOST https://{Endpoint}/v3/{project_", "product_code":"dds", "title":"Creating a DB Instance", "uri":"dds_api_0020.html", "doc_type":"api", - "p_code":"15", - "code":"16" + "p_code":"16", + "code":"17" }, { - "desc":"This API is used to delete a DB instance.URI formatDELETE /v3/{project_id}/instances/{instance_id}DELETE /v3/{project_id}/instances/{instance_id}Parameter descriptionPara", + "desc":"This API is used to restart a DB instance.The DDS DB instance will be unavailable during the restart process. Exercise caution when performing this operation.If the insta", + "product_code":"dds", + "title":"Restarting a DB Instance", + "uri":"dds_api_0021.html", + "doc_type":"api", + "p_code":"16", + "code":"18" + }, + { + "desc":"This API is used to delete a DB instance.URI formatDELETE https://{Endpoint}/v3/{project_id}/instances/{instance_id}DELETE https://{Endpoint}/v3/{project_id}/instances/{i", "product_code":"dds", "title":"Deleting a DB Instance", "uri":"dds_api_0022.html", "doc_type":"api", - "p_code":"15", - "code":"17" + "p_code":"16", + "code":"19" }, { - "desc":"This API is used to query DB instances based on specified conditions.URI formatGET /v3/{project_id}/instances?id={id}&name={name}&mode={mode}&datastore_type={datastore_ty", + "desc":"This API is used to query instances and details based on specified conditions.URI formatGET https://{Endpoint}/v3/{project_id}/instances?id={id}&name={name}&mode={mode}&d", "product_code":"dds", - "title":"Querying DB Instances", + "title":"Querying Instances and Details", "uri":"dds_api_0023.html", "doc_type":"api", - "p_code":"15", - "code":"18" + "p_code":"16", + "code":"20" + }, + { + "desc":"This API is used to scale up the storage space of a DB instance.URI formatPOST https://{Endpoint}/v3/{project_id}/instances/{instance_id}/enlarge-volumePOST https://{Endp", + "product_code":"dds", + "title":"Scaling Up Storage Space", + "uri":"dds_api_0024.html", + "doc_type":"api", + "p_code":"16", + "code":"21" + }, + { + "desc":"This API is used to add nodes for a specified cluster instance.Only the mongos and shard nodes can be added.The specifications of the new node must be the same as those o", + "product_code":"dds", + "title":"Adding Nodes for a Cluster Instance", + "uri":"dds_api_0025.html", + "doc_type":"api", + "p_code":"16", + "code":"22" + }, + { + "desc":"This API is used to modify the instance specifications.Services will be interrupted for 5 to 10 minutes when you modify DB instance specifications. Exercise caution when ", + "product_code":"dds", + "title":"Modifying DB Instance Specifications", + "uri":"dds_api_0026.html", + "doc_type":"api", + "p_code":"16", + "code":"23" + }, + { + "desc":"This API is used to perform a primary/secondary switchover in a replica set instance.This API supports only DDS replica sets.This operation cannot be performed on frozen ", + "product_code":"dds", + "title":"Performing a Primary/Secondary Switchover in a Replica Set Instance", + "uri":"dds_api_0050.html", + "doc_type":"api", + "p_code":"16", + "code":"24" + }, + { + "desc":"This API is used to enable or disable SSL.This operation cannot be performed on frozen or abnormal instances.The DB instance must be restarted to make port number modific", + "product_code":"dds", + "title":"Enabling or Disabling SSL", + "uri":"dds_api_0051.html", + "doc_type":"api", + "p_code":"16", + "code":"25" + }, + { + "desc":"This API is used to modify a DB instance name.The name of the DB instance that is being created or fails to be created cannot be modified.URI formatPUT https://{Endpoint}", + "product_code":"dds", + "title":"Modifying a DB Instance Name", + "uri":"dds_api_0053.html", + "doc_type":"api", + "p_code":"16", + "code":"26" + }, + { + "desc":"This API is used to change a database port.This operation cannot be performed on frozen or abnormal instances.The DB instance must be restarted to make port number modifi", + "product_code":"dds", + "title":"Changing a Database Port", + "uri":"dds_api_0054.html", + "doc_type":"api", + "p_code":"16", + "code":"27" + }, + { + "desc":"This API is used to change the security group associated with a DB instance.Abnormal instances do not support this operation.Please confirm the modified security group po", + "product_code":"dds", + "title":"Changing a Security Group", + "uri":"dds_api_0055.html", + "doc_type":"api", + "p_code":"16", + "code":"28" + }, + { + "desc":"This API is used to bind an EIP to a node in a DB instance.This operation cannot be performed on frozen or abnormal instances.Hidden nodes do not support this operation.M", + "product_code":"dds", + "title":"Binding an EIP", + "uri":"dds_api_0056.html", + "doc_type":"api", + "p_code":"16", + "code":"29" + }, + { + "desc":"This API is used to unbind an EIP from a node in a DB instance.Frozen instances do not support this operation.This operation can be performed only on a node with an EIP a", + "product_code":"dds", + "title":"Unbinding an EIP", + "uri":"dds_api_0057.html", + "doc_type":"api", + "p_code":"16", + "code":"30" + }, + { + "desc":"This API is used to change the private IP address of a DB instance.This operation cannot be performed on frozen or abnormal instances.An in-use IP address cannot be used ", + "product_code":"dds", + "title":"Changing a Private IP Address", + "uri":"dds_api_0058.html", + "doc_type":"api", + "p_code":"16", + "code":"31" + }, + { + "desc":"This API is used to enable the IP addresses of shard or config nodes.Frozen instances do not support this operation.DB instances associated with the IPv6 subnet do not su", + "product_code":"dds", + "title":"Enabling Shard or Config IP Addresses", + "uri":"dds_api_0120.html", + "doc_type":"api", + "p_code":"16", + "code":"32" + }, + { + "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":"dds", + "title":"Connection Management", + "uri":"dds_connect_0001.html", + "doc_type":"api", + "p_code":"9", + "code":"33" + }, + { + "desc":"This API is used to query sessions of instance nodes.Community Edition 3.4 and 4.0 instances are supported.URI formatGET https://{Endpoint}/v3/{project_id}/nodes/{node_id", + "product_code":"dds", + "title":"Querying Sessions of an Instance Node", + "uri":"dds_connect_0002.html", + "doc_type":"api", + "p_code":"33", + "code":"34" + }, + { + "desc":"This API is used to kill sessions of an instance node.Community Edition 3.4 and 4.0 instances are supported.Inactive sessions cannot be terminated.URI formatPOST https://", + "product_code":"dds", + "title":"Killing Sessions of an Instance Node", + "uri":"dds_connect_0003.html", + "doc_type":"api", + "p_code":"33", + "code":"35" + }, + { + "desc":"This API is used to query the number of connections from each client to DDS DB instances.Frozen instances do not support this operation.URI formatGET https://{Endpoint}/v", + "product_code":"dds", + "title":"Querying the Number of Connections to an Instance Node", + "uri":"dds_connect_0004.html", + "doc_type":"api", + "p_code":"33", + "code":"36" + }, + { + "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":"dds", + "title":"Backup and Restoration", + "uri":"dds_backup_restore.html", + "doc_type":"api", + "p_code":"9", + "code":"37" + }, + { + "desc":"This API is used to create a manual backup for a DB instance.URI formatPOST https://{Endpoint}/v3/{project_id}/backupsPOST https://{Endpoint}/v3/{project_id}/backupsParam", + "product_code":"dds", + "title":"Creating a Manual Backup", + "uri":"dds_api_0027.html", + "doc_type":"api", + "p_code":"37", + "code":"38" + }, + { + "desc":"This API is used to delete a manual backup for a DB instance.URI formatDELETE https://{Endpoint}/v3/{project_id}/backups/{backup_id}DELETE https://{Endpoint}/v3/{project_", + "product_code":"dds", + "title":"Deleting a Manual Backup", + "uri":"dds_api_0028.html", + "doc_type":"api", + "p_code":"37", + "code":"39" + }, + { + "desc":"This API is used to query backups based on specified conditions.URI formatGET https://{Endpoint}/v3/{project_id}/backups?instance_id={instance_id}&backup_id={backup_id}&b", + "product_code":"dds", + "title":"Querying the Backup List", + "uri":"dds_api_0029.html", + "doc_type":"api", + "p_code":"37", + "code":"40" + }, + { + "desc":"This API is used to query an automated backup policy.URI formatGET https://{Endpoint}/v3/{project_id}/instances/{instance_id}/backups/policyGET https://{Endpoint}/v3/{pro", + "product_code":"dds", + "title":"Querying an Automated Backup Policy", + "uri":"dds_api_0030.html", + "doc_type":"api", + "p_code":"37", + "code":"41" + }, + { + "desc":"This API is used to set an automated backup policy.URI formatPUT https://{Endpoint}/v3/{project_id}/instances/{instance_id}/backups/policyPUT https://{Endpoint}/v3/{proje", + "product_code":"dds", + "title":"Setting an Automated Backup Policy", + "uri":"dds_api_0031.html", + "doc_type":"api", + "p_code":"37", + "code":"42" + }, + { + "desc":"This API is used to restore a backup to a new DB instance.The database type of the destination DB instance must be the same as that of the source DB instance.Currently, o", + "product_code":"dds", + "title":"Restoring Data to a New DB Instance", + "uri":"dds_api_0038.html", + "doc_type":"api", + "p_code":"37", + "code":"43" + }, + { + "desc":"This API is used to obtain the link for downloading a backup file.The backup download link is valid within 15 minutes after being updated.URI formatGET https://{Endpoint}", + "product_code":"dds", + "title":"Obtaining the Link for Downloading a Backup File", + "uri":"dds_api_0059.html", + "doc_type":"api", + "p_code":"37", + "code":"44" + }, + { + "desc":"This API is used to query the restoration time range of a DB instance.Currently, this API only supports replica set instances and cluster instances 4.0.URI formatGET http", + "product_code":"dds", + "title":"Querying the Restoration Time Ranges", + "uri":"dds_api_0080.html", + "doc_type":"api", + "p_code":"37", + "code":"45" + }, + { + "desc":"This API is used to obtain the list of databases that can be restored.This API applies only to replica sets.URI formatGET https://{Endpoint}/v3/{project_id}/instances/{in", + "product_code":"dds", + "title":"Obtaining the List of Databases That Can Be Restored", + "uri":"dds_api_0081.html", + "doc_type":"api", + "p_code":"37", + "code":"46" + }, + { + "desc":"This API is used to obtain the list of databases collections that can be restored.This API applies only to replica sets.URI formatGET https://{Endpoint}/v3/{project_id}/i", + "product_code":"dds", + "title":"Obtaining the List of Database Collections That Can Be Restored", + "uri":"dds_api_0082.html", + "doc_type":"api", + "p_code":"37", + "code":"47" + }, + { + "desc":"This API is used to restore data to the original DB instance.URI formatPOST https://{Endpoint}/v3/{project_id}/instances/recoveryPOST https://{Endpoint}/v3/{project_id}/i", + "product_code":"dds", + "title":"Restoring Data to the Original DB Instance", + "uri":"dds_api_0083.html", + "doc_type":"api", + "p_code":"37", + "code":"48" + }, + { + "desc":"This API is used to restore databases and tables at a point in time.This API applies only to replica sets.URI formatPOST https://{Endpoint}/v3/{project_id}/instances/{ins", + "product_code":"dds", + "title":"Restoring Databases and Tables to a Point in Time", + "uri":"dds_api_0084.html", + "doc_type":"api", + "p_code":"37", + "code":"49" + }, + { + "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":"dds", + "title":"Log Information Queries", + "uri":"dds_api_0092.html", + "doc_type":"api", + "p_code":"9", + "code":"50" + }, + { + "desc":"This API is used to query database slow logs.A maximum of 2000 records can be queried within the period specified by start_date and end_date.URI formatGET https://{Endpoi", + "product_code":"dds", + "title":"Querying Database Slow Logs", + "uri":"dds_api_0093.html", + "doc_type":"api", + "p_code":"50", + "code":"51" + }, + { + "desc":"This API is used to obtain links for downloading slow query logs.The link for downloading slow query logs is valid within 15 minutes after being updated.URI formatPOSThtt", + "product_code":"dds", + "title":"Obtaining Links for Downloading Slow Query Logs", + "uri":"dds_api_0094.html", + "doc_type":"api", + "p_code":"50", + "code":"52" + }, + { + "desc":"This API is used to query database error logs.A maximum of 2000 records can be queried within the period specified by start_date and end_date.URI formatGET https://{Endpo", + "product_code":"dds", + "title":"Querying Database Error Logs", + "uri":"dds_api_0095.html", + "doc_type":"api", + "p_code":"50", + "code":"53" + }, + { + "desc":"This API is used to obtain the download link of error logs.The link for downloading error logs is valid within 15 minutes after being updated.URI formatPOST https://{Endp", + "product_code":"dds", + "title":"Obtaining Links for Downloading Error Logs", + "uri":"dds_api_0096.html", + "doc_type":"api", + "p_code":"50", + "code":"54" + }, + { + "desc":"This API is used to set a policy for SQL audit logs.URI formatPOST https://{Endpoint}/v3/{project_id}/instances/{instance_id}/auditlog-policyPOST https://{Endpoint}/v3/{p", + "product_code":"dds", + "title":"Setting SQL Audit", + "uri":"dds_api_0097.html", + "doc_type":"api", + "p_code":"50", + "code":"55" + }, + { + "desc":"This API is used to query the policy for SQL audit logs.URI formatGET https://{Endpoint}/v3/{project_id}/instances/{instance_id}/auditlog-policyGET https://{Endpoint}/v3/", + "product_code":"dds", + "title":"Querying SQL Audit Policy", + "uri":"dds_api_0098.html", + "doc_type":"api", + "p_code":"50", + "code":"56" + }, + { + "desc":"This API is used to obtain an audit log list.URI formatGET https://{Endpoint}/v3/{project_id}/instances/{instance_id}/auditlog?start_time={start_time}&end_time={end_time}", + "product_code":"dds", + "title":"Obtaining the Audit Log List", + "uri":"dds_api_0099.html", + "doc_type":"api", + "p_code":"50", + "code":"57" + }, + { + "desc":"This API is used to obtain the link for downloading audit logs.URI formatPOST https://{Endpoint}/v3/{project_id}/instances/{instance_id}/auditlog-linksPOST https://{Endpo", + "product_code":"dds", + "title":"Obtaining Links for Downloading Audit Logs", + "uri":"dds_api_0100.html", + "doc_type":"api", + "p_code":"50", + "code":"58" + }, + { + "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":"dds", + "title":"Tag Management", + "uri":"dds_tag_mgmt.html", + "doc_type":"api", + "p_code":"9", + "code":"59" + }, + { + "desc":"This API is used to query the specified DB instances by tag.A maximum of 20 tags can be added to a DB instance. The tag key must be unique.URI formatPOST https://{Endpoin", + "product_code":"dds", + "title":"Querying Resources by Tag", + "uri":"dds_api_0032.html", + "doc_type":"api", + "p_code":"59", + "code":"60" + }, + { + "desc":"This API is used to add or delete tags of the specified instance in batches.A maximum of 20 tags can be added to a DB instance. The tag key must be unique.If the request ", + "product_code":"dds", + "title":"Adding or Deleting Resource Tags in Batches", + "uri":"dds_api_0033.html", + "doc_type":"api", + "p_code":"59", + "code":"61" + }, + { + "desc":"This API is used to query tags of a specified resource.A maximum of 20 tags can be added to a DB instance. The tag key must be unique.URI formatGET https://{Endpoint}/v3/", + "product_code":"dds", + "title":"Querying Resource Tags", + "uri":"dds_api_0034.html", + "doc_type":"api", + "p_code":"59", + "code":"62" + }, + { + "desc":"This API is used to query all tags of instances in a specified project.URI formatGET https://{Endpoint}/v3/{project_id}/tagsGET https://{Endpoint}/v3/{project_id}/tagsPar", + "product_code":"dds", + "title":"Querying Tags in a Specified Project", + "uri":"dds_api_0035.html", + "doc_type":"api", + "p_code":"59", + "code":"63" + }, + { + "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":"dds", + "title":"Task Management", + "uri":"dds_api_0117.html", + "doc_type":"api", + "p_code":"9", + "code":"64" + }, + { + "desc":"This API is used to obtain information about a task with a specified ID in the task center.Currently, only asynchronous tasks in the task center of DDS Community Edition ", + "product_code":"dds", + "title":"Obtaining Information About a Task with a Specified ID", + "uri":"dds_api_0118.html", + "doc_type":"api", + "p_code":"64", + "code":"65" + }, + { + "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":"dds", + "title":"Permissions Policies and Supported Actions", + "uri":"dds_api_permission.html", + "doc_type":"api", + "p_code":"", + "code":"66" + }, + { + "desc":"This chapter describes fine-grained permissions management for your DDS. If your account does not need individual IAM users, then you may skip over this chapter.By defaul", + "product_code":"dds", + "title":"Introduction", + "uri":"dds_api_0036.html", + "doc_type":"api", + "p_code":"66", + "code":"67" + }, + { + "desc":"The check mark (√) indicates that an action takes effect. The cross mark (x) indicates that an action does not take effect.", + "product_code":"dds", + "title":"DDS Actions", + "uri":"dds_api_0037.html", + "doc_type":"api", + "p_code":"66", + "code":"68" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -168,7 +618,16 @@ "uri":"dds_public_parameters.html", "doc_type":"api", "p_code":"", - "code":"19" + "code":"69" + }, + { + "desc":"Abnormal responsesParameter descriptionNameTypeDescriptionerror_codeStringSpecifies the error returned when a task submission exception occurs.error_msgStringSpecifies th", + "product_code":"dds", + "title":"Abnormal Request Results", + "uri":"dds_api_0060.html", + "doc_type":"api", + "p_code":"69", + "code":"70" }, { "desc":"NormalStatus CodeMessageDescription200OKRequest succeeded.202AcceptedAsynchronous request submitted successfully.AbnormalStatus CodeMessageDescription400Bad RequestInvali", @@ -176,8 +635,8 @@ "title":"Status Code", "uri":"dds_status_code.html", "doc_type":"api", - "p_code":"19", - "code":"20" + "p_code":"69", + "code":"71" }, { "desc":"If an error occurs in an API, no result is returned. You can locate the error cause based on the error codes of each API. When the invocation fails, an HTTP status code i", @@ -185,17 +644,17 @@ "title":"Error Code", "uri":"dds_error_code.html", "doc_type":"api", - "p_code":"19", - "code":"21" + "p_code":"69", + "code":"72" }, { - "desc":"A project ID is required for some URLs when an API is called. Therefore, you need to obtain a project ID in advance. Two methods are available:Obtaining the Project ID by", + "desc":"A project ID is required for some URLs when an API is called. To obtain the project ID:Obtaining the Project ID by Calling an APIObtain a Project ID from the ConsoleThe A", "product_code":"dds", "title":"Obtaining a Project ID", "uri":"dds_projectid.html", "doc_type":"api", - "p_code":"19", - "code":"22" + "p_code":"69", + "code":"73" }, { "desc":"This section describes metrics reported by Document Database Service (DDS) to Cloud Eye as well as their namespaces and dimensions. You can use APIs provided by Cloud Eye", @@ -203,8 +662,8 @@ "title":"DDS Metrics", "uri":"dds_metrics.html", "doc_type":"api", - "p_code":"19", - "code":"23" + "p_code":"69", + "code":"74" }, { "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.", @@ -213,6 +672,6 @@ "uri":"dds_change_history.html", "doc_type":"api", "p_code":"", - "code":"24" + "code":"75" } ] \ No newline at end of file diff --git a/docs/dds/api-ref/dds_api_0006.html b/docs/dds/api-ref/dds_api_0006.html index 11e8277f5..7dedb8955 100644 --- a/docs/dds/api-ref/dds_api_0006.html +++ b/docs/dds/api-ref/dds_api_0006.html @@ -3,30 +3,60 @@
DDS provides extension APIs, allowing you to perform specific operations using APIs.
-Type +
An example request message is as follows:
-{
+In the preceding command, replace parameter in italic with the actual values. For details, see the "Obtaining a User Token" section in the Identity and Access Management API Reference. -
After the request is processed, the value of X-Subject-Token in the header is the token value. -X-Subject-Token:MIIDkgYJKoZIhvcNAQcCoIIDgzCCA38CAQExDTALBglghkgBZQMEAgEwgXXXXX...- export Token={X-Subject-Token} -X-Subject-Token: Replace it with the token obtained in 2. An example command is as follows: -export Token=MIIDkgYJKoZIhvcNAQcCoIIDgzCCA38CAQExDTALBglghkgBZQMEAgEwgXXXXX... -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...., add X-Auth-Token: ABCDEFJ.... in a request as follows: +POST https://dds.eu-de.otc.t-systems.com/v3/auth/projects +Content-Type: application/json +X-Auth-Token: ABCDEFJ....
diff --git a/docs/dds/api-ref/dds_api_0015.html b/docs/dds/api-ref/dds_api_0015.html
index 48c0b99c5..2f6c14313 100644
--- a/docs/dds/api-ref/dds_api_0015.html
+++ b/docs/dds/api-ref/dds_api_0015.html
@@ -2,7 +2,7 @@
-
-
\ No newline at end of file
diff --git a/docs/dds/api-ref/dds_api_0016.html b/docs/dds/api-ref/dds_api_0016.html
index 121615747..9116fb5e8 100644
--- a/docs/dds/api-ref/dds_api_0016.html
+++ b/docs/dds/api-ref/dds_api_0016.html
@@ -121,7 +121,7 @@
ScenariosDDS open APIs allow users to create, view, or delete DB instances, query API versions, DB engines, DB engine versions, and DB instance class supported by the system. The application scenarios are shown as follows. -Figure 1 Scenarios
+![]() Figure 1 Scenarios
![]() Before creating a DB instance, you need to obtain the DB engines and versions, DB instance class, and AZs supported by the system. After obtaining the information, you can use the returned results as invoked parameters to create a DB instance. After a DB instance is created, you can query the instance list and delete the instance. @@ -13,10 +13,3 @@(Optional) Request BodyA 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 Chinese characters, convert the Chinese characters into the UTF-8 encoding format. +If the request body contains full-width characters, convert the full-width characters into the UTF-8 encoding format. Response HeadersA response header consists of the following two parts:
|
|---|