最終更新日:2024-11-18 18:29:43
CDNetworks Object Storage offers two API versions: V1 and V2. This document explains their differences and provides guidance on their usage.
Function | API-V1 | API-V2 |
---|---|---|
List Buckets | Supported (lists only buckets created by the account itself) | Supported |
List Resources | Supported | Supported |
Normal Upload | Supported | Supported |
Multipart Upload | Supported | Supported |
Delete Files | Supported | Supported |
Copy Resource | Supported | Supported |
Move Resource | Supported | Not supported (requires copying first, then deleting) |
Audio/Video Operations | Supported | Not supported |
Download Files | Supported (public download; no authentication required) | Supported (authentication required by default, but can be configured to allow public access) |
IAM (Learn More) | Not supported | Supported |
IAM (Identity and Access Management) enables the main account to assign specific permissions for bucket operations to its sub-accounts. For example: The main account can allow a sub-account to upload files to a specific bucket while restricting it from downloading files from the same bucket.
API-V2 and IAM:
API-V1 and IAM:
We highly recommend using API-V2 due to its compatibility with S3. However, if you need to perform media processing operations on videos stored in Object Storage, you should use API-V1, as it is the only version that provides media processing APIs.
Additionally, you can use S3 APIs or any S3-based tools with CDNetworks Object Storage, as we are fully compatible with S3.
You can find the Manage Domain, Upload Domain, Endpoint, and RegionName details on the Object Storage Console overview page.