Archives Flows
List flow
sequenceDiagram
participant UI as ArchivePopup
participant API as archive endpoints
participant DATA as cpiArchive
UI->>API: Load archive list
API->>DATA: Query tenant archives
API-->>UI: Return archive rows
Download and delete flow
sequenceDiagram
participant U as User
participant UI as ArchivePopup
participant API as archive action endpoints
participant DATA as cpiArchive
U->>UI: Download or delete archive
UI->>API: Request file or delete action
API->>DATA: Stream content or update deleted state
API-->>UI: Return result
Statistics flow
Archive statistics are requested separately from the main archive list, so summary cards and detailed file inventory can evolve independently.