tencent cloud

Cloud Object Storage

문서Cloud Object Storage

GET Service

포커스 모드
폰트 크기
마지막 업데이트 시간: 2026-02-02 11:19:22

Introduction

This document provides an overview of the API operations for listing all buckets and sample SDK code.
API
Operation Name
Operation Description
List buckets
Query the list of all buckets under the requester's account or buckets in a specific region.

Querying the Bucket List

Feature Overview

List all buckets under the requester's account or buckets in a specific region (List Buckets).

Example Code

let request = new ListBucketsRequest();
try {
let result = await CosXmlBaseService.default().listBucket(request)
// result includes http headers, etc.
} catch (e) {
// Exception handling
}


도움말 및 지원

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

피드백