Implement CreateDirectory API

This commit is contained in:
Cyberboss
2018-08-20 13:26:32 -04:00
parent f58c71adc7
commit d1d78ba3a7
6 changed files with 79 additions and 0 deletions
+4
View File
@@ -396,6 +396,10 @@ If the path is empty, the root directory will be retrieved. The @ref Tgstation.S
If you do not have access to list the requested directory, a 403 response will be returned. If the path actually represents a file or the directory no longer exists a 410 response will be returned.
To create an empty config directory use the following request
I POST "/Config/List/<path to directory>" => @ref Tgstation.Server.Api.Models.ConfigurationFile
To get the content of a static file use the following method
I GET "/Config/File/<path to file>" => @ref Tgstation.Server.Api.Models.ConfigurationFile