Skip to content

Create an empty file #23

Description

@Xkonti

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions