Create file metadata
POST /api/v1/metaRequest body
string
required
Encrypted filename - a 32-bit encoded string.
number
required
File size in bytes.
string
required
ID of the user who uploaded the file.
string
required
MIME type of the file (e.g.,
image/png, application/pdf).string
required
32-bit encrypted Data Encryption Key (DEK), wrapped by the master key.
boolean
required
Whether a thumbnail should be generated for this file.
Example request
Example request
Response 200
Returns the created metadata record with a generated id and uploadedDate.
Get file metadata
GET /api/v1/meta/{fileId}Path parameters
string
required
The unique file identifier.
Response 200
Response 404
Returned when the file does not exist.
List user files
GET /api/v1/meta?userId=The
dekEnc field is intentionally excluded from list responses. There is no reason to return the encrypted DEK for every file in a bulk listing.Query parameters
string
required
The user ID to filter files by.
Response 200
Delete file metadata
DELETE /api/v1/meta/{fileId}Path parameters
string
required
The unique file identifier.

