tencent cloud

Cloud Infinite

Updating a Dataset

다운로드
포커스 모드
폰트 크기
마지막 업데이트 시간: 2026-09-08 16:24:27
AI 번역

Feature Description

Update the configuration of a Dataset.

Authorization Description

When using a sub-account, add the ci:UpdateDataset permission to the action of the authorization policy. For all operation APIs supported by Cloud Infinite, see CI action.

Restrictions

The Dataset name cannot be changed.
Parameters that are not specified during the update will not be updated.
For more usage limitations, see Usage Limits.

Request

Request sample

PUT /dataset HTTP/1.1
Host: <AppId>.ci.ap-jakarta.myqcloud.com
Authorization: Auth String
Content-Length: xxx
Content-Type: application/json
Accept: application/json
Note:
Authorization: A request header that carries authentication information and is used to verify the legitimacy of the request. For details, see Request Signature.

Request header

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

Request body

{
"DatasetName": "test",
"Description": "test",
"TemplateId": "Official:COSBasicMeta"
}

Request Parameter

Parameter Name
Description
Type
Required
DatasetName
Dataset name, unique within the same account. You can query it through the console or API.
String
Yes
Description
Dataset description. The length ranges from 1 to 256 English or Chinese characters. The default value is empty.
String
No
TemplateId
The backend searches for the search template associated with the dataset. When creating metadata indexes, the backend determines which metadata of files to collect based on the search template.
Each search template contains several operators, and different operators represent different processing capabilities. For more information, see Search Templates and Operators.
The default value is empty, which means no search template is associated and no metadata is collected.
String
No

Response

Response Headers

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

Response Body

{
"Dataset": {
"BindCount": 0,
"CreateTime": "2023-12-25 15:16:20.692674978 +0800 CST",
"DatasetName": "test",
"Description": "test",
"FileCount": 0,
"TemplateId": "Official:COSBasicMeta",
"TotalFileSize": 0,
"UpdateTime": "2023-12-25 15:16:20.692675128 +0800 CST"
},
"RequestId": "NWFjMzQ0MDZfOTBmYTUwXzZkZV8z****"
}
The specific data content of the response body is as follows:
Parameter Name
Description
Type
RequestId
Request ID.
string
Dataset
Dataset information. Same as the Dataset in the response body of the dataset creation API.
Container


도움말 및 지원

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

피드백