Welcome to the Open Storage Service (OSS) SDK documentation! Here you will find comprehensive guides, examples, and API references to help you integrate the OSS into your applications.

Getting Started

Before you begin, make sure you have the following prerequisites:

  • OSS Account - Create an OSS account if you don't have one.
  • SDK Installation - Install the SDK for your preferred programming language.

Features

The OSS SDK provides the following features:

  • File Upload and Download: Upload and download files to and from OSS buckets.
  • Object Versioning: Manage object versions and lifecycle policies.
  • Access Control: Set access control policies to manage bucket access.
  • Bucket Operations: Create, delete, and manage OSS buckets.

Quick Start

Here's a simple example of how to upload a file using the OSS SDK:

import oss2

# Initialize a bucket object
bucket = oss2.Bucket(oss2.Auth('AccessKeyId', 'AccessKeySecret'), 'http://your-bucket-url', 'bucket-name')

# Upload a file
bucket.put_object_from_file('object-name', 'local-file-path')

For more detailed examples and code snippets, visit the OSS SDK GitHub Repository.

API Reference

For detailed API references, please visit the OSS SDK API Documentation.

Support

If you have any questions or issues, please contact support.


OSS Architecture