tencent cloud

Cloud Infinite

Release Notes and Announcements
Release Notes
Announcements
Product Introduction
Product Overview
Product Strengths
Use Cases
Feature Overview
Regions and Domains
Specifications and Limits
Billing
Billing Overview
Billing Mode
Billable Items
Free Tier
Payment Overdue
Viewing Bill Details
FAQs
Getting Started
Registering and Logging In
Bind Bucket
Uploading and Processing File
Downloading and Deleting Images
Unbinding Buckets
Using CI via COS
Features
Image Processing
Media Processing
Content Moderation
AI Content Recognition
File Processing
Smart Voice
File processing
User Guide
Overview
Bucket Management
Smart Toolbox
Job and Workflow
Data Monitoring
Usage statistics
Use Cases
Copyright Protection Solutions
Image Processing Practices
Working with API Authorization Policies
Workflow Practices
API Documentation
API Overview
Structure
Common Request Headers
Common Response Headers
Activate Vast Service
Image Processing
AI-Based Content Recognition
Smart Audio
Media Processing
Content Moderation
Document Processing
File Processing
Job and Workflow
Cloud Virus Detection
Error Codes
Request Signature
SDK Documentation
SDK Overview
Android SDK
iOS SDK
COS Android SDK
C SDK
C++ SDK
.NET(C#) SDK
Go SDK
COS iOS SDK
Java SDK
JavaScript SDK
Node.js SDK
PHP SDK
Python SDK
Mini Program SDK
Personal Information Protection Policy for SDK
Security and Compliance
Permission ‍Management
FAQs
Basic Settings
Document Processing
Media Processing
Content Recognition
Smart Audio
Agreements
Service Level Agreement
Contact Us
Glossary

Querying DNA Database List

PDF
포커스 모드
폰트 크기
마지막 업데이트 시간: 2025-09-08 19:16:11

Feature Overview

Query the DNA database list.

Authorization Guide

Set action to ci:DescribeMediaDnaDbs in the authorization policy. View all actions.

Service Activation

Using this feature requires enabling Cloud Infinite in advance and binding a bucket. For details, see Bind Bucket.
Use this feature requires enabling Media Processing Service in advance via console or API. For details, see Enable Media Processing Service.

Use Limits

When using this API, please first confirm the relevant restrictions. For details, see Specifications and Limits.

Request

Request Sample

GET /dnadb HTTP/1.1
Host: <BucketName-APPID>.ci.<Region>.myqcloud.com
Date: <GMT Date>
Authorization: <Auth String>
Note:
Authorization: Auth String. For details, see the Request Signature documentation.
When used with a sub-account, required permissions need to be granted. For details, see the Authorization Granularity Detail documentation.

Request Header

This API only uses common request headers. For details, see Common Request Headers documentation.

Request Parameters

The parameters are described as follows:
Parameter Name
Description
Type
Required
ids
DNA library ID, supports splitting strings with the , symbol, with a maximum of 20.
String
No
pageNumber
Which page, default value 1.
Int
No
pageSize
Number of items per page, default value 10, maximum value 100.
Int
No

Request Body

This API has no request body.

Response

Response Header

This API only returns common response headers. For details, see Common Response Headers documentation.

Response Body

The response body is returned as application/xml. An example including the complete node data is shown below:
<Response>
<RequestId>NTk0MjdmODlfMjQ4OGY3XzYzYzhfMjc=</RequestId>
<TotalCount>2</TotalCount>
<PageNumber>1</PageNumber>
<PageSize>10</PageSize>
<DNADbConfig>
<BucketId>test-1234567890</BucketId>
<Region>ap-chongqing</Region>
<DNADbId>xxx1</DNADbId>
<DNADbName>Test1</DNADbName>
<Capacity>10000</Capacity>
<Description>This is test database 1</Description>
<CreateTime>2023-06-05T11:35:24+0800</CreateTime>
<UpdateTime>2023-06-30T16:15:20+0800</UpdateTime>
</DNADbConfig>
<DNADbConfig>
<BucketId>test-1234567890</BucketId>
<Region>ap-chongqing</Region>
<DNADbId>xxx2</DNADbId>
<DNADbName>Test 2</DNADbName>
<Capacity>10000</Capacity>
<Description>This is test database 2</Description>
<CreateTime>2023-06-05T11:35:24+0800</CreateTime>
<UpdateTime>2023-06-25T17:21:20+0800</UpdateTime>
</DNADbConfig>
<NonExistIDs>A</NonExistIDs>
<NonExistIDs>B</NonExistIDs>
<NonExistIDs>C</NonExistIDs>
</Response>
The data content is as follows:
Node Name (Keyword)
Parent Node
Description
Type
Response
None
Container for saving results
Container
The content of container node Response:
Node Name (Keyword)
Parent Node
Description
Type
RequestId
Response
Unique request ID
String
TotalCount
Response
Total number of databases
Int
PageNumber
Response
Current page number, same as pageNumber in the request
Int
PageSize
Response
Number of items per page, same as pageSize in the request
Int
DNADbConfig
Response
Detailed information of the database
Container array
NonExistIDs
Response
Databases that do not exist in the queried IDs, not returned when all IDs exist
String array
The content of Container node DNADbConfig:
Node Name (Keyword)
Parent Node
Description
Type
BucketId
Response.DNADbConfig
Bucket ID
String
Region
Response.DNADbConfig
The region where the bucket is located
String
DNADbId
Response.DNADbConfig
DNA library ID
String
DNADbName
Response.DNADbConfig
DNA library name
String
Capacity
Response.DNADbConfig
DNA library capacity
Int
Description
Response.DNADbConfig
DNA library description
String
UpdateTime
Response.DNADbConfig
DNA update time
String
CreateTime
Response.DNADbConfig
DNA creation time
String

Error Codes

This request returns common error responses and error codes. For more information, see Error Codes.

Practical Example

GET /dnadb?ids=xxx1,xxx2,A,B,C HTTP/1.1
Accept: */*
Authorization: q-sign-algorithm=sha1&q-ak=**********************************&q-sign-time=1497530202;1497610202&q-key-time=1497530202;1497610202&q-header-list=&q-url-param-list=&q-signature=**************************************
Host: test-1234567890.ci.ap-chongqing.myqcloud.com

Response

HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: 666
Connection: keep-alive
Date: Mon, 28 Jun 2022 15:23:12 GMT
Server: tencent-ci
x-ci-request-id: NjMxMDJhYTNfMThhYTk0MGFfYmU1OV8zZjc=

<Response>
<RequestId>NjMxMDJhYTNfMThhYTk0MGFfYmU1OV8zZjc=</RequestId>
<TotalCount>2</TotalCount>
<PageNumber>1</PageNumber>
<PageSize>10</PageSize>
<DNADbConfig>
<BucketId>test-1234567890</BucketId>
<Region>ap-chongqing</Region>
<DNADbId>xxx1</DNADbId>
<DNADbName>Test1</DNADbName>
<Capacity>10000</Capacity>
<Description>This is test database 1</Description>
<CreateTime>2023-06-05T11:35:24+0800</CreateTime>
<UpdateTime>2023-06-30T16:15:20+0800</UpdateTime>
</DNADbConfig>
<DNADbConfig>
<BucketId>test-1234567890</BucketId>
<Region>ap-chongqing</Region>
<DNADbId>xxx2</DNADbId>
<DNADbName>Test2</DNADbName>
<Capacity>10000</Capacity>
<Description>This is test database 2</Description>
<CreateTime>2023-06-05T11:35:24+0800</CreateTime>
<UpdateTime>2023-06-25T17:21:20+0800</UpdateTime>
</DNADbConfig>
<NonExistIDs>A</NonExistIDs>
<NonExistIDs>B</NonExistIDs>
<NonExistIDs>C</NonExistIDs>
</Response>


도움말 및 지원

문제 해결에 도움이 되었나요?

피드백