mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-01 21:01:10 +00:00
1.8 KiB
1.8 KiB
Lumina API
File System Management
Files
Get Files
Get Files Request
GET api/v1/files/get-files?path=C%3A%5CUsers%5C&includeHiddenElements=true
Get Files Response
200 Ok
[
{
"Size": 754045401,
"Path": "/media/movies/The Matrix (1999)/The Matrix.mkv",
"Name": "The Matrix.mkv",
"DateCreated": "2025-01-01T13:50:38.3143711Z",
"DateModified": "2025-01-01T13:40:38.3143719Z"
},
{
"Size": 6897,
"Path": "/media/movies/The Matrix (1999)/The Matrix.en.srt",
"Name": "The Matrix.en.srt",
"DateCreated": "2025-01-01T13:50:38.3145606Z",
"DateModified": "2025-01-01T13:40:38.3145609Z"
}
]
Get Tree Files
Get Tree Files Request
GET api/v1/get-tree-files?path=C%3A%5CUsers%5C&includeHiddenElements=true
Get Tree Files Response
200 Ok
[
{
"Path": "/media/movies/The Matrix (1999)/The Matrix.mkv",
"Name": "The Matrix.mkv",
"ItemType": "File",
"IsExpanded": false,
"ChildrenLoaded": false,
"Children": []
},
{
"Path": "/media/movies/The Matrix (1999)/The Matrix.en.srt",
"Name": "The Matrix.en.srt",
"ItemType": "File",
"IsExpanded": false,
"ChildrenLoaded": false,
"Children": []
},
{
"Path": "/media/movies/The Matrix (1999)/poster.jpg",
"Name": "poster.jpg",
"ItemType": "File",
"IsExpanded": false,
"ChildrenLoaded": false,
"Children": []
}
]