GET | /api/file/download/{fileId} | Downloads a file’s binary content from cloud storage. |
GET | /api/file/{id} | Retrieves a single file’s metadata by its identifier. Useful when you have the file id (e.g. from an upload response) and want to verify existence or fetch metadata without listing the owner’s full file list. |
GET | /api/file/{ownerType}/{ownerId} | Lists all files attached to a specific owner, filtered by the current user’s view permissions. |
POST | /api/file/upload/{ownerType}/{ownerId} | Uploads a single file and attaches it to the specified owner entity. Returns the created DataFile record so callers (CLI / SDK / migration scripts) can capture the new file id without a follow-up list-and-filter call. |
DELETE | /api/file/{id} | Deletes a file and removes its blob from cloud storage. |