Upload file or create folder.

post/api/files/{target}

Response

No error

OR

Example response

{
  "files": {
    "local": {
      "name": "harry_potter_hogwarts_a_mohimont.sl1",
      "origin": "local",
      "path": "internal/examples/harry_potter_hogwarts_a_mohimont.sl1",
      "refs": {
        "resource": "http://localhost/api/files/local/internal/examples/harry_potter_hogwarts_a_mohimont.sl1",
        "download": "http://localhost/api/downloads/local/internal/examples/harry_potter_hogwarts_a_mohimont.sl1"
      }
    }
  }
}

Changes