SDK Download Links
Download Address
API Documentation
- API reference document: SDK API Reference
Compatibility
- Recommended Node.js versions: Node 0.12.x, Node4.x, Node6.x, Node8.x, and Node10.x
- Interface functions: Not completely compatible with earlier versions (2.1.x). The following table describes the changes.
Interface Function
Description
ObsClient.listBuckets
In the response parameters, the type of the InterfaceResult.Buckets field changes to Array, and the InterfaceResult.Buckets.Bucket field is deleted.
ObsClient.setBucketAcl
In the request parameters, the type of the Grants field changes to Array, and the Grants.Grant field is deleted.
ObsClient.getBucketAcl
In the response parameters, the type of the InterfaceResult.Grants field changes to Array, and the InterfaceResult.Grants.Grant field is deleted.
ObsClient.setObjectAcl
In the request parameters, the type of the Grants field changes to Array, and the Grants.Grant field is deleted.
ObsClient.getObjectAcl
In the response parameters, the type of the InterfaceResult.Grants field changes to Array, and the InterfaceResult.Grants.Grant field is deleted.
ObsClient.setBucketLogging
In the request parameters, the type of the LoggingEnabled.TargetGrants field changes to Array, and the LoggingEnabled.TargetGrants.Grant field is deleted.
ObsClient.getBucketLogging
In the response parameters, the type of the InterfaceResult.LoggingEnabled.TargetGrants field changes to Array, and the InterfaceResult.LoggingEnabled.TargetGrants.Grant field is deleted.
ObsClient.setBucketWebsite
In the request parameters, the type of the RoutingRules field changes to Array, and the RoutingRules.RoutingRule field is deleted.
ObsClient.getBucketWebsite
In the response parameters, the type of the InterfaceResult.RoutingRules field changes to Array, and the InterfaceResult.RoutingRules.RoutingRule field is deleted.
ObsClient.setBucketCors
In the request parameters, the CorsRule field is renamed as CorsRules.
ObsClient.getBucketCors
In the response parameters, the InterfaceResult.CorsRule field is renamed as InterfaceResult.CorsRules.
ObsClient.setBucketTagging
In the request parameters, the type of the TagSet field changes to Array, and the TagSet.Tag field is deleted.
ObsClient.getBucketTagging
In the response parameters, the type of the InterfaceResult.TagSet field changes to Array, and the InterfaceResult.TagSet.Tag field is deleted.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot