Public Files

Returns a list of the public files

GET /public-files

The list returned does not contain the contents of the files.

[
  {
    "filename": "test.txt"
  }
]

Upload a public file

POST /public-files

Request Body

NameTypeDescription

filename*

String

The name for the file

file*

File

The file to be uploaded

{ "ok": true }

Removes a public file

DELETE /public-files/:filename

Path Parameters

NameTypeDescription

filename*

String

The name of the file you want to remove

{ "ok": true }

Last updated