oracle / oci-typescript-sdk

Oracle Cloud Infrastructure SDK for TypeScript and JavaScript
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/typescriptsdk.htm
Other
68 stars 50 forks source link

OCI Object Storage - ListObjectRequest with multiple Fields #274

Closed rkartik-naiker closed 4 months ago

rkartik-naiker commented 4 months ago

Hi, We are trying to create a ListObjectRequest with multiple fields as by default the ObjectSummary response only returns the name field. As per the code comments here - https://github.com/oracle/oci-typescript-sdk/blob/master/lib/objectstorage/lib/request/list-objects-request.ts , the fields parameter can be set in the request to include other fields in the ObjectSummary response.

However, this parameter only allows a single value based on the enum - ListObjectsRequest.Fields

Is there a way where we can send a request which will return multiple fields ?

We found a similar issue which was reported for the oci-dotnet-sdk - https://github.com/oracle/oci-dotnet-sdk/issues/97

Can someone please take a look at this issue and advise ?

Thanks!