Updated on 2023-01-19 GMT+08:00

SDK Common Result Objects

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 that the operation is successful. The following table lists the object content:

Field

Storage Class

Description

HttpStatusCode

integer

HTTP status code

Reason

string

Reason description

RequestId

string

Request ID returned by the OBS server

Other fields

See the OBS PHP SDK API Reference.