Cloud Storage
Feature Introduction
This series of open APIs provides the ability to interface with Cloud Storage (COS service). You can call the open APIs to get object upload information, download links, and other operations. All APIs in this series support batch operations.
Access Guide
Calling the following interfaces requires passing an AccessToken in the format Authorization: Bearer <token>. For how to get the token, please refer to: https://docs.cloudbase.net/http-api/basic/access-token
HTTP Status Code
Depending on the result of the response, 2xx, 4xx, or 5xx status codes may appear.
Error Codes
The following lists the specific error codes for this series of APIs. For the complete list, please refer to: https://docs.cloudbase.net/error-code/service
| Error Code | Description |
| STORAGE_EXCEED_AUTHORITY | No permission to perform the corresponding operation on this object |
| COS_ACTION_FAILED | Failed to execute COS operation |
| OBJECT_NOT_EXIST | The requested object does not exist |
Authentication
- HTTP: Bearer Auth
- API Key: APIKey
Token corresponding to the environment ID, obtained using login authentication (v2)
| Security Scheme Type: | http |
|---|---|
| HTTP Authorization Scheme: | bearer |
Tencent Cloud 3.0 signature starting with TC3-HMAC-SHA256, with Timestamp and Token concatenated at the end of the signature
| Security Scheme Type: | apiKey |
|---|---|
| Header parameter name: | Authorization |