v1

latestOpenAPI 3.1.02026-07-2675394318.9 KB
files

Upload a file to the server. the body must be a file content.

Uploads a file to the server. The body must contain the file content.

post/files

Response

Created - The file has been successfully uploaded

uuidstring uuid required

A UUID string

sha256string required

SHA256 hash of the file content

sizeinteger required

File size in bytes; -1 if unknown

Example response

{
  "uuid": "12345678-9abc-baba-deda-0123456789ab",
  "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
  "size": 1024
}