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

Retrieving DNA Database File List

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

Feature Overview

Retrieve file list from the DNA database.

Authorization Guide

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

Service Activation

Using this feature requires enabling Cloud Infinite in advance and binding a bucket. For details, see Bind Bucket.
Using this feature requires enabling Media Processing Service in advance through the 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_files HTTP/1.1
Host: <BucketName-APPID>.ci.<Region>.myqcloud.com
Date: <GMT Date>
Authorization: <Auth String>
Note:
Authorization: Auth String. For details, see Request Signature documentation.
When used with a sub-account, relevant permissions must be granted. For details, see the Authorization Granularity Details 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
object
File Name
String
No
dnaDbId
DNA library ID
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>
<DNADbFiles>
<BucketId>test-1234567890</BucketId>
<Region>ap-chongqing</Region>
<DNADbId>xxx1</DNADbId>
<VideoId>xxx</VideoId>
<Object>input/test1.mp4</Object>
<ETag>&quot;3a64323ae8ed5633c02fc96def134b92-23&quot;</ETag>
<CreateTime>2023-06-05T11:35:24+0800</CreateTime>
<UpdateTime>2023-06-30T16:15:20+0800</UpdateTime>
</DNADbFiles>
<DNADbFiles>
<BucketId>test-1234567890</BucketId>
<Region>ap-chongqing</Region>
<DNADbId>xxx1</DNADbId>
<VideoId>xxx</VideoId>
<Object>input/test2.mp4</Object>
<ETag>&quot;234f8b0b58874328039ac66352820cc8&quot;</ETag>
<CreateTime>2023-06-05T11:35:24+0800</CreateTime>
<UpdateTime>2023-06-30T16:15:20+0800</UpdateTime>
</DNADbFiles>
</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 files
Int
PageNumber
Response
Current page number, same as the pageNumber in the request
Int
PageSize
Response
Number of items per page, same as the pageSize in the request
Int
DNADbFiles
Response
Detailed information of the file
Container 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
VideoId
Response.DNADbConfig
Unique file identifier
String
Object
Response.DNADbConfig
File name
String
ETag
Response.DNADbConfig
File ETag
String
UpdateTime
Response.DNADbConfig
File update time
String
CreateTime
Response.DNADbConfig
File creation time
String

Error Codes

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

Practical Example

GET /dnadb_files 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>NTk0MjdmODlfMjQ4OGY3XzYzYzhfMjc=</RequestId>
<TotalCount>2</TotalCount>
<PageNumber>1</PageNumber>
<PageSize>10</PageSize>
<DNADbFiles>
<BucketId>test-1234567890</BucketId>
<Region>ap-chongqing</Region>
<DNADbId>xxx1</DNADbId>
<VideoId>xxx</VideoId>
<Object>input/test1.mp4</Object>
<ETag>&quot;3a64323ae8ed5633c02fc96def134b92-23&quot;</ETag>
<CreateTime>2023-06-05T11:35:24+0800</CreateTime>
<UpdateTime>2023-06-30T16:15:20+0800</UpdateTime>
</DNADbFiles>
<DNADbFiles>
<BucketId>test-1234567890</BucketId>
<Region>ap-chongqing</Region>
<DNADbId>xxx1</DNADbId>
<VideoId>xxx</VideoId>
<Object>input/test2.mp4</Object>
<ETag>&quot;234f8b0b58874328039ac66352820cc8&quot;</ETag>
<CreateTime>2023-06-05T11:35:24+0800</CreateTime>
<UpdateTime>2023-06-30T16:15:20+0800</UpdateTime>
</DNADbFiles>
</Response>


도움말 및 지원

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

피드백