Help Center/ OBS PHP SDK/ API Reference/ Initialization/ SDK Common Result Objects

SDK Common Result Objects

Updated on 2023-03-16 GMT+08:00

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\Internal\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".

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback