mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-01 23:01:10 +00:00
2.7 KiB
2.7 KiB
Nemera API
- Nemera API
File System Management
Paths
Check Path Exists
Check Path Exists Request
GET api/v1/path/check-path-exists?path=C%3A%5CUsers%5C&shouldIncludeHiddenElements=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
}