Open Closed

How to get list of blobs in a blob container #2825


User avatar
0
bozkan created

Hi,

We use MinIO over ABP's wrapper classes like IBlobContainer and BlobContainerFactory. I would like to get a list of blobs inside a container but as far as I see there is no such functionality in the interface:

How can I get a list of objects inside a blob container which is possible in MinIO api like this: https://docs.min.io/docs/dotnet-client-api-reference.html#listObjects

  • ABP Framework version: v4.3.0
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes

1 Answer(s)
  • User Avatar
    0
    enisn created
    Support Team .NET Developer

    Hi @bozkan

    IBlobContainer is an abstraction over different providers and it contains only common operations. So currently, there is no GetListAsync (or something equivalent) method.

    You can manage your files with File Management Module. That module still doesn't get the list from the blob provider but it saves metadata about files in application storage and provides a system to you for managing your files.

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11