• Object Storage Service

obs
  1. Help Center
  2. Object Storage Service
  3. API Reference (PHP SDK)
  4. Initialization
  5. Request Array

Request Array

API Description

Each time you call an API of ObsClient, you need to pass the associative array to the request as the input (excluding ObsClient->listBuckets). For a bucket-related API, the Bucket field contained in the associative array is used to specify the bucket name. For an object-related API, the Bucket field and Key field contained in the associative array are used 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

Other parameters

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