tencent cloud

Cloud Object Storage

GET Service

Unduh
Mode fokus
Ukuran font
Terakhir diperbarui: 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
}


Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan