mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-01 22:01:10 +00:00
2.7 KiB
2.7 KiB
Lumina API
- Lumina API
File System Management
Paths
Check Path Exists
Check Path Exists Request
GET api/v1/path/check-path-exists?path=C%3A%5CUsers%5C&includeHiddenElements=true
Check Path Exists Response
200 Ok
{
"Exists": true
}
Combine Path
Combine Path Request
GET api/v1/path/combine?originalPath=C%3A%5C&newPath=Users
Combine Path Response
200 Ok
{
"Path": "C:\\Users\\"
}
Get Path Parent
Get Path Parent Request
GET api/v1/path/get-path-parent?path=C%3A%5CUsers%5C
Get Path Parent Response
200 Ok
[
{
"Path": "C:"
}
]
Get Path Root
Get Path Root Request
GET api/v1/path/get-path-root?path=C%3A%5CUsers%5C
Get Path Root Response
200 Ok
[
{
"Path": "C:\\"
}
]
Get Path Separator
Get Path Separator Request
GET api/v1/path/get-path-separator
Get Path Separator Response
200 Ok
[
{
"Separator": "\\"
}
]
Split Path
Split Path Request
GET api/v1/path/split?path=C%3A%5CUsers%5C
Split Path Response
200 Ok
[
{
"Path": "C:\\"
},
{
"Path": "Users"
}
]
Validate Path
Validate Path Request
GET api/v1/path/validate?path=C%3A%5CUsers%5C
Validate Path Response
200 Ok
{
"IsValid": true
}