Skip to main content
Version: 1.0.0

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 CodeDescription
STORAGE_EXCEED_AUTHORITYNo permission to perform the corresponding operation on this object
COS_ACTION_FAILEDFailed to execute COS operation
OBJECT_NOT_EXISTThe requested object does not exist

Authentication

Token corresponding to the environment ID, obtained using login authentication (v2)

Security Scheme Type:http
HTTP Authorization Scheme:bearer

License

Apache 2.0