Cloud Storage
Feature Introduction
This series of Open APIs provides the capability to integrate with Cloud Storage (COS service), enabling operations such as retrieving object upload information and download links by calling Open APIs. This series of Open APIs supports batch operations.
Access Guide
To call the following interfaces, you need to pass an AccessToken in the format Authorization: Bearer <token>
. For token acquisition methods, refer to: https://docs.cloudbase.net/http-api/basic/access-token
HTTP Status Code
Depending on the returned results, status codes such as 2xx
, 4xx
, and 5xx
may occur.
Error Codes
The following lists the error codes specific to this series of APIs. For the complete list, refer to: https://docs.cloudbase.net/error-code/service
Error Code | Meaning |
STORAGE_EXCEED_AUTHORITY | Permission denied to perform the corresponding operation on this object |
COS_ACTION_FAILED | Request to COS operation failed |
OBJECT_NOT_EXIST | Requested object not found |
Authentication
- HTTP: Bearer Auth
- API Key: APIKey
The token corresponding to the environment ID, obtained using login authentication (v2).
Security Scheme Type: | http |
---|---|
HTTP Authorization Scheme: | bearer |
The Tencent Cloud version 3.0 signature starting with TC3-HMAC-SHA256 appends Timestamp and Token to the end of the signature.
Security Scheme Type: | apiKey |
---|---|
Header parameter name: | Authorization |