Rémi Marseault 8e2125ee72 WebAPI: Add metadata in /app/getDirectoryContent response
## Description

Send file/folder metadata instead of just the name of a filesystem entry.
Currently the endpoint only sends a list of string, containing the path of each entry, without specifying its type (file or folder).
The optional `withMetadata` flag has been added to provide metadata and to prevent breaking changes with older versions.
If `true`, JSON response will be an array of objects instead of an array of strings.

This object contains:
- `name`: the name of the file system entry (without path)
- `type`: Whether the file system entry is a "file" or a "dir"
- `creation_date`: file system entry's creation date
- `last_access_date`: file system entry's last access date
- `last_modification_date`: file system entry's last modification date

If the entry is a file, a `size` field is present with the file size in bytes.

## Objective

Build a server file browser inside WebUIs, feature is currently being developed for VueTorrent.
It will include file metadata, filtering and sorting on the different fields.

PR #22813.
2025-06-07 23:02:48 +08:00
2025-04-27 16:21:20 +03:00
2025-05-27 14:53:50 +08:00
2024-10-06 16:41:38 +08:00
2025-04-27 16:21:20 +03:00
2023-10-20 09:04:56 +03:00
2025-01-24 22:26:35 +08:00
2016-12-27 16:56:35 +02:00
2023-10-09 10:21:29 +03:00
2025-04-27 16:21:20 +03:00
2023-04-23 15:09:58 +08:00
2025-04-27 16:21:20 +03:00
2024-11-02 22:03:38 +02:00
2018-09-30 15:46:33 +07:00

qBittorrent - A BitTorrent client in Qt

GitHub Actions CI Status Coverity Status


Description:

qBittorrent is a bittorrent client programmed in C++ / Qt that uses libtorrent (sometimes called libtorrent-rasterbar) by Arvid Norberg.

It aims to be a good alternative to all other bittorrent clients out there. qBittorrent is fast, stable and provides unicode support as well as many features.

The free IP to Country Lite database by DB-IP is used for resolving the countries of peers. The database is licensed under the Creative Commons Attribution 4.0 International License.

Installation:

Refer to the INSTALL file.

Public key:

Starting from v3.3.4 all source tarballs and binaries are signed.
The key currently used is 4096R/5B7CC9A2 with fingerprint D8F3DA77AAC6741053599C136E4A2D025B7CC9A2.
You can also download it from here.
PREVIOUSLY the following key was used to sign the v3.3.4 source tarballs and v3.3.4 Windows installer only: 4096R/520EC6F6 with fingerprint F4A5FD201B117B1C2AB590E2A1ACCAE4520EC6F6.

Misc:

For more information please visit: https://www.qbittorrent.org

or our wiki here: https://wiki.qbittorrent.org

Use the forum for troubleshooting before reporting bugs: https://forum.qbittorrent.org

Please report any bug (or feature request) to: https://bugs.qbittorrent.org

Official IRC channel: #qbittorrent on irc.libera.chat


sledgehammer999 <sledgehammer999@qbittorrent.org>

Languages
C++ 69.4%
JavaScript 14.2%
HTML 12.7%
Python 1.1%
CSS 0.8%
Other 1.7%