v1

latestOpenAPI 3.1.02026-07-2675394318.9 KB
files

Get file info by SHA256

Returns file info (uuid, sha256, created_at, updated_at).

get/files/{sha256}

Response

File info

uuidstring uuid required

A UUID string

sha256string required

SHA256 hash of the file content

sizeinteger required

File size in bytes; -1 if unknown

created_atstring date-time required

When the file was first uploaded by this namespace

updated_atstring date-time required

Updated on each upload of the same file

Example response

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