You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to get the top 10 objects by size in a bucket ?

Received Response
edited Aug 29, 2019 5:38AM in Oracle Cloud Infrastructure - General 3 comments


I need to fetch the top 10 objects by size from a bucket. is there any API that fetches the list with size information.

Currently, the List Objects API( provides only name information of objects in response. API response is provided below.

  "objects": Array[4][
      "name": "Sample_~_How_To_Train_Your_Dragon_3_The_Hidden_World_2019_Movies_HD_Cam_x264_Clean_Audio_New_Source_?rDX?.mkv"
      "name": "dynatrace_oracle_cloud.PNG"
      "name": "explanation_blank.PNG"
      "name": "guava-19.0.jar"

In order to fetch size information, i need to make individual API call for object it seems.


Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!