Request Objects
Description
Each time you call an API in an instance of ObsClient, you need to pass a request object (Object type) as the input. For a bucket-related API, the request object always contains the Bucket field to specify the bucket name. For an object-related API, the request object always contains the Bucket and Key fields to specify the bucket name and object name, respectively.
Parameter Description
Field |
Type |
Optional or Mandatory |
Description |
---|---|---|---|
Bucket |
String |
Mandatory |
Bucket name |
Key |
String |
Mandatory for object-related APIs |
Object name |
Others |
For details, see chapters "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.