-
API Reference
- Overview
- Initialization
- Pre-defined Constants
-
Bucket-Related APIs
- Before You Start
- HEAD Bucket
- DELETE Bucket
- GET Objects
- GET Object versions
- List Multipart uploads
- Obtain Bucket Metadata
- GET Bucket location
- GET Bucket storageinfo
- PUT Bucket quota
- GET Bucket quota
- Set Bucket storagePolicy
- GET Bucket storagePolicy
- PUT Bucket acl
- GET Bucket acl
- PUT Bucket logging
- GET Bucket logging
- PUT Bucket policy
- GET Bucket policy
- DELETE Bucket policy
- PUT Bucket lifecycle
- GET Bucket lifecycle
- DELETE Bucket lifecycle
- PUT Bucket website
- GET Bucket website
- DELETE Bucket website
- PUT Bucket versioning
- GET Bucket versioning
- GET Bucket cors
- DELETE Bucket cors
- PUT Bucket tagging
- GET Bucket tagging
- DELETE Bucket tagging
- Object-Related APIs
- Other APIs
- Change History
Show all
SDK Common Result Objects
Description
After you call an API in an instance of the ObsClient class, a common result object will be returned if no exception is thrown.
Parameter Description
Field |
Type |
Description |
|
---|---|---|---|
CommonMsg |
Object |
Common information generated after the API calling is complete, including HTTP status code and error code. |
|
Status |
Number |
HTTP status code. If the value is smaller than 300, the operation succeeds. Otherwise, the operation fails. |
|
Code |
String |
Error code returned by the OBS server. If Status is smaller than 300, the value is null. |
|
Message |
String |
Error description returned by the OBS server. If Status is smaller than 300, the value is null. |
|
HostId |
String |
Requested server ID. If Status is smaller than 300, the value is null. |
|
RequestId |
String |
Request ID returned by the OBS server |
|
Id2 |
String |
Request ID2 returned by the OBS server |
|
Indicator |
String |
Detailed error code returned by the OBS server. If Status is smaller than 300, the value is null. |
|
InterfaceResult |
Object |
Result data generated after the operation is successful. If Status is greater than 300, the value is null. |
|
RequestId |
String |
Request ID returned by the OBS server |
|
Id2 |
String |
Request ID2 returned by the OBS server |
|
Other fields |
For details, see "Bucket-Related APIs" and "Object-Related APIs". |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.