• Object Storage Service

obs
  1. Help Center
  2. Object Storage Service
  3. Developer Guide (Node.js SDK)
  4. Overview
  5. Content Navigation

Content Navigation

This development guide describes how to install and configure an environment and how to call functions provided by OBS Node.js SDK for secondary development. This guide covers the following content:

Chapter

Describes

Overview

Concepts of OBS and the OBS SDK.

Quick Start

The use of the OBS SDK for secondary development in a quick manner, including creating an AK and SK, preparing a development environment, installing the SDK, obtaining endpoints, initializing an instance of ObsClient, and using the OBS SDK for common operations.

Related Resources

Resources, including SDK download links and example programs.

Initialization

Service initialization during secondary development through the OBS SDK, including configuring the Access Key ID/Secret Access Key (AK/SK), creating and configuring an instance of ObsClient, and configuring SDK logs.

Bucket Management

How to use the OBS SDK to manage buckets, including creating, listing, and deleting buckets, as well as obtaining bucket metadata, managing bucket ACLs, and obtaining bucket location information.

Object Upload

How to use the OBS SDK to upload objects in text-based, streaming, file-based, multipart, and resumable modes.

Object Download

How to use the OBS SDK to download objects in text-based, streaming, file-based, partial, conditioned, and resumable modes.

Object Management

How to use the OBS SDK to manage objects, including listing, deleting, and copying objects, as well as obtaining object properties and ACLs.

Temporary Authentication

How to use the OBS SDK to create temporarily authorized requests.

Versioning Management

How to use the OBS SDK for versioning control, including setting and viewing bucket versioning status, as well as obtaining, deleting, and listing versioning objects.

Lifecycle Management

How to use the OBS SDK to manage bucket lifecycles, including setting, viewing, and deleting lifecycle rules.

CORS

How to use the OBS SDK to configure cross-origin resource sharing (CORS), including setting, viewing and deleting CORS rules.

Access Logging

How to use the OBS SDK to configure access logging, including enabling, disabling, and viewing bucket logging.

Static Website Hosting

How to use the OBS SDK to configure static website hosting, including implementing website file hosting, and configuring, viewing, and deleting website hosting settings.

Tag Management

How to use the OBS SDK to manage bucket tags, including setting, viewing, and deleting bucket tags.

Event Notification

How to use the OBS SDK to manage bucket event notification, including configuring, viewing, and disabling event notification.

Server-Side Encryption

How to use the OBS SDK to implement server-side encryption.

Troubleshooting

How to use the OBS SDK for troubleshooting when exceptions occur.

FAQ

Answers to common problems that may occur during the use of the OBS SDK.