Listing Object Storage Objects in a Bucket
View a list of the objects in an Object Storage bucket.
When you list the objects in a bucket, they appear in a table in lexicological (numerical + alphabetical) order.
- On the Buckets list page, select the Object Storage bucket that you want to work with. If you need help finding the list page or the bucket, see Listing Buckets.
- On the bucket's details page, select Objects.
The Objects tab opens. All objects in the selected bucket are displayed in a table. Filtering List Results
Use filters to limit the objects in the list. Perform one of the following actions depending on the options that you see:
- From the Search object by name or prefix box above the list table, enter a name or prefix to filter the list of objects displayed.
Change the order of the items in the list table by using the sort icons next to the column names.
For information about searching for resources and managing the columns in the list table, if those features are available, see Listing Resources.
Actions
To perform an action on an object directly from the object list table, select any of the following options from the Actions menu in the row for that object:
- View object details: Open the Object details panel for the object.
- View versions: Display a list of the versions of the object.
- Download: Download the object to your computer.
- Copy: Copy the object to another bucket.
- Update storage tier: Change the storage tier assigned to the object.
- Create pre-authenticated request: Create a pre-authenticated request for the object.
- Re-encrypt: Re-encrypt an object's data encryption keys with a different master encryption key.
- Rename: Change the name of the object.
- Delete: Remove the object from the bucket.
To create a bucket, select Create bucket.
Use the oci os object list command and required parameters to list the objects in a bucket:
oci os object list --bucket-name bucket_name [OPTIONS]By default, a minimal number of fields are returned for each object. For example:
oci os object list --bucket-name MyBucket { "data": [ { "etag": "7588e71f-433f-4518-ba2d-90082208bd5d", "md5": "As+3syaEbvMhPm8fM+DSAw==", "name": "eventslogreference.htm", "size": 13515, "storage-tier": "InfrequentAccess", "time-created": "2021-01-11T15:47:44.427000+00:00", "time-modified": "2021-01-11T15:47:44.441000+00:00" }, { "etag": "833c7099-f74e-4ce5-a7c8-ffa29a112d88", "md5": "JI9YzxOg5HsbPSANkTVy8g==", "name": "flowlogreference.htm", "size": 16601, "storage-tier": "Archive", "time-created": "2021-01-11T15:47:44.617000+00:00", "time-modified": "2021-01-11T15:47:44.638000+00:00" }, { "etag": "3b833478-87c5-49f1-8bb4-f33b66c2758a", "md5": "skstBGw3YcHBomI6X/YwEA==", "name": "objectstoragelogreference.htm", "size": 18631, "storage-tier": "Standard", "time-created": "2021-01-11T20:50:48.996000+00:00", "time-modified": "2021-01-11T20:50:49.019000+00:00" } ], "prefixes": [] }For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the ListObjects operation to list the objects in a bucket.
Object Storage prepends the Object Storage namespace string and bucket name to the object name when constructing a URL for use with the API:
/n/object_storage_namespace/b/bucket/o/object_nameThe object name is everything after the
/o/, which could include hierarchy levels and prefix strings.