File upload, serving, processing, and conversion.
Upload a file to a page.
Content-Type: multipart/form-data
Form fields:
file — The file to uploadpageId — Target page ID (optional — creates a new FILE page if omitted)driveId — Target drive (required if no pageId)Limits:
Processing: Files are forwarded to the processor service for:
Response:
{
"id": "string",
"filename": "string",
"mimeType": "string",
"size": 12345,
"processingStatus": "pending | processing | completed | failed"
}
Serve an uploaded file to authenticated users.
Verifies permissions, fetches from processor service, streams to client with appropriate content type and caching headers.
Download the original uploaded file with Content-Disposition: attachment header.
Convert a FILE page to a DOCUMENT page using the extracted text content.
The original file is preserved. A new DOCUMENT page is created with the extracted text as content.
Serve user avatar images.
Upload a new avatar image for the current user.
Search docs, blog posts, and more.