• Object Storage Service

obs
  1. Help Center
  2. Object Storage Service
  3. API Reference (PHP SDK)
  4. Initialization
  5. SDK Common Result Objects

SDK Common Result Objects

API Description

After an API is called using an instance of ObsClient, view whether an exception is thrown. If no, an SDK common result object will be returned, indicating a successful operation. If yes, the operation fails and you need to obtain the error information from the instance of Obs\Common\ObsException.

Namespace

Class

Parent Namespace

Model

Obs\Common

Parameter Description

Field

Type

Description

HttpStatusCode

integer

HTTP status code

Reason

string

Reason description

RequestId

string

Request ID returned by the OBS server

Other fields

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