Updated on 2022-02-10 GMT+08:00

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. For a bucket-related API, the Bucket field contained in the associative array is used to specify the bucket name (excluding ObsClient->listBuckets). 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".