Skip to content

Include file and folder sizes in API responses when fetching directory contents #55

@DenizAltunkapan

Description

@DenizAltunkapan

When fetching folders and their contents through the Cloud Page API, the response should always include the size of each component (files and folders).

This allows the frontend in the core Vault Web repository to properly display storage usage for the user:
https://github.com/Vault-Web/vault-web

The size information will be used to:

  • Show file sizes in the file explorer UI
  • Calculate and display total storage usage for the user’s cloud storage
  • Enable a clear and consistent visualization of storage consumption in the frontend

Folder sizes should represent the aggregated size of their contained files, enabling accurate usage display and storage monitoring.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions