Hey there,
i tried to delete a directory using the the REST API, but i get a 404 that the requested file was not found, but when i want to delete a file it succeeds.
I tried using this: DELETE [...]/template/local/Lobby/plugins/file?path=plugins
{ "status": 404, "type": "template-file-not-found", "detail": "The requested template local:Lobby/plugins does not contain the requested file plugins", "title": "Template File Not Found" }
But when i use the GET [...]/template/local/Lobby/plugins/file/info?path=plugins
{ "path": "plugins", "name": "plugins", "directory": true, "hidden": false, "creationTime": 1784996645596, "lastModified": 1785064298057, "lastAccess": 1785166372265, "size": 0 }
I am currently using CloudNet V4.0.0 Blizzard - RC16 c924e5ae with CloudNet-Rest v0.5.1
Hey there,
i tried to delete a directory using the the REST API, but i get a 404 that the requested file was not found, but when i want to delete a file it succeeds.
I tried using this: DELETE [...]/template/local/Lobby/plugins/file?path=plugins
{ "status": 404, "type": "template-file-not-found", "detail": "The requested template local:Lobby/plugins does not contain the requested file plugins", "title": "Template File Not Found" }But when i use the GET [...]/template/local/Lobby/plugins/file/info?path=plugins
{ "path": "plugins", "name": "plugins", "directory": true, "hidden": false, "creationTime": 1784996645596, "lastModified": 1785064298057, "lastAccess": 1785166372265, "size": 0 }I am currently using CloudNet V4.0.0 Blizzard - RC16 c924e5ae with CloudNet-Rest v0.5.1