An endpoint that creates an empty file.
- Verb:
POST
- Path:
/file/touch
Query parameters:
| Name |
Value |
Default value |
Description |
path |
string |
required |
A path to a file which should be created. |
Responses:
204 No Content - when the file was successfully created.
409 Conflict - when the path is pointing to already existing directory or file.
400 Bad Request - when the path is invalid.
Extra info
This should create just an empty file. Equivalent of Linux's touch
An endpoint that creates an empty file.
POST/file/touchQuery parameters:
pathResponses:
204 No Content- when the file was successfully created.409 Conflict- when the path is pointing to already existing directory or file.400 Bad Request- when the path is invalid.Extra info
This should create just an empty file. Equivalent of Linux's
touch