tencent cloud

Cloud Object Storage

Release Notes and Announcements
Release Notes
Announcements
Product Introduction
Overview
Features
Use Cases
Strengths
Concepts
Regions and Access Endpoints
Specifications and Limits
Service Regions and Service Providers
Billing
Billing Overview
Billing Method
Billable Items
Free Tier
Billing Examples
Viewing and Downloading Bill
Payment Overdue
FAQs
Getting Started
Console
Getting Started with COSBrowser
User Guide
Creating Request
Bucket
Object
Data Management
Batch Operation
Global Acceleration
Monitoring and Alarms
Operations Center
Data Processing
Content Moderation
Smart Toolbox
Data Processing Workflow
Application Integration
User Tools
Tool Overview
Installation and Configuration of Environment
COSBrowser
COSCLI (Beta)
COSCMD
COS Migration
FTP Server
Hadoop
COSDistCp
HDFS TO COS
GooseFS-Lite
Online Tools
Diagnostic Tool
Use Cases
Overview
Access Control and Permission Management
Performance Optimization
Accessing COS with AWS S3 SDK
Data Disaster Recovery and Backup
Domain Name Management Practice
Image Processing
Audio/Video Practices
Workflow
Direct Data Upload
Content Moderation
Data Security
Data Verification
Big Data Practice
COS Cost Optimization Solutions
Using COS in the Third-party Applications
Migration Guide
Migrating Local Data to COS
Migrating Data from Third-Party Cloud Storage Service to COS
Migrating Data from URL to COS
Migrating Data Within COS
Migrating Data Between HDFS and COS
Data Lake Storage
Cloud Native Datalake Storage
Metadata Accelerator
GooseFS
Data Processing
Data Processing Overview
Image Processing
Media Processing
Content Moderation
File Processing Service
File Preview
Troubleshooting
Obtaining RequestId
Slow Upload over Public Network
403 Error for COS Access
Resource Access Error
POST Object Common Exceptions
API Documentation
Introduction
Common Request Headers
Common Response Headers
Error Codes
Request Signature
Action List
Service APIs
Bucket APIs
Object APIs
Batch Operation APIs
Data Processing APIs
Job and Workflow
Content Moderation APIs
Cloud Antivirus API
SDK Documentation
SDK Overview
Preparations
Android SDK
C SDK
C++ SDK
.NET(C#) SDK
Flutter SDK
Go SDK
iOS SDK
Java SDK
JavaScript SDK
Node.js SDK
PHP SDK
Python SDK
React Native SDK
Mini Program SDK
Error Codes
Harmony SDK
Endpoint SDK Quality Optimization
Security and Compliance
Data Disaster Recovery
Data Security
Cloud Access Management
FAQs
Popular Questions
General
Billing
Domain Name Compliance Issues
Bucket Configuration
Domain Names and CDN
Object Operations
Logging and Monitoring
Permission Management
Data Processing
Data Security
Pre-signed URL Issues
SDKs
Tools
APIs
Agreements
Service Level Agreement
Privacy Policy
Data Processing And Security Agreement
Contact Us
Glossary

Introduction

PDF
Modo Foco
Tamanho da Fonte
Última atualização: 2025-12-09 11:36:00
Tencent COS uses XML APIs, which are lightweight, connectionless, and stateless. By calling XML APIs, you can send requests and receive responses directly over HTTP/HTTPS to interact with the COS backend.
COS adopts a data transfer framework different from that of Tencent Cloud. Therefore, APIs and SDKs of COS are independent. For more information, please see the Operation List of COS APIs, or download the desired SDKs from SDK Overview. Note that the guides of Tencent Cloud APIs and the corresponding SDKs do not cover the operations of COS.
Note:
By using COS APIs, you acknowledge that you have read and agree to the General Service Level Agreements and Tencent COS Service Level Agreement.
For more information about the available regions of COS, please see Regions and Access Endpoints.
Before using APIs or SDKs to initiate a request, you are advised to read the Creating Request Overview document to learn more about access endpoints, authentication, and how to determine access via a private or public network.
For API formats of other Tencent Cloud services, please see APIs.

API Overview

For more information about the APIs supported by COS, please see Operation List.


COS Glossary

Terms and concepts you may see when using the APIs are described as follows:
Name
Description
APPID
A unique user-level resource identifier for COS access. It can be obtained at Manage API Key.
SecretId
A developer-owned ID used for the project. It can be obtained at Manage API Key.
SecretKey
A developer-owned secret key used for the project. It can be obtained at Manage API Key.
Bucket
A container used for data storage. For more information, please see Bucket Overview.
BucketName-APPID
A format used to name the bucket when you use an API or SDK. For example, examplebucket-1250000000 means the examplebucket belongs to a user with an APPID of 1250000000.
Object
A file stored in COS. It is the basic entity that is stored.
ObjectKey
A unique identifier of an object stored in COS. For more information about objects and object keys, please see Object Overview.
Region
Region information. For more information about the enumerated values (such as ap-beijing, ap-hongkong, and eu-frankfurt), please see Regions and Access Endpoints.
ACL
Access Control List, a list of access control information for a specified bucket or object.
CORS
Cross-origin resource sharing
This refers to the HTTP requests for resources from a different endpoint.
Multipart Uploads
An upload mode provided by Tencent Cloud COS.
Object Content
Binary of the uploaded files.

Getting Started

To use the Tencent COS APIs, take the following steps:
1. Activate COS in the COS console.
2. Create a bucket in the COS console.
3. In the CAM console, obtain APPID at Manage API Key. Then, create SecretId and SecretKey.
4. Write a request signature algorithm program (or use any server SDK). For more information, please see Request Signature.
5. Calculate the signature and call APIs to perform operations.

Ajuda e Suporte

Esta página foi útil?

comentários