• Object Storage Service

obs
  1. Help Center
  2. Object Storage Service
  3. API Reference (Node.js SDK)
  4. Initialization
  5. Request Objects

Request Objects

API Description

Each time you call an API of ObsClient, you need to pass the request object to the request as the input (excluding ObsClient.listBuckets). For a bucket-related API, the request object always contains the Bucket field to specify the bucket name. For an object-related API, the request object always contains the Bucket and Key fields to specify the bucket name and object name, respectively.

Parameter Description

Field

Type

Optional or Mandatory

Description

Bucket

String

Mandatory

Bucket name

Key

String

Mandatory for object-related APIs

Object name

Others

For details, see Bucket-Related APIs and Object-Related APIs.