Test Results for File Upload Endpoints (2026-03-11)

These endpoints were added to the OpenAPI spec (scripts/notion-openapi.json) with zero source code changes. The existing auto-generation pipeline handles multipart/form-data with format:binary out of the box.

Test 1: Create a file upload session (create-a-file-upload)

Test 2: Send file content (send-file-upload-content)

Test 3: Retrieve a file upload (retrieve-a-file-upload)

Test 4: List file uploads (list-file-uploads)

Test 5: complete-a-file-upload was not tested (only needed for multi_part mode)

Summary: 4/4 tested endpoints passed. All 5 file upload endpoints are available as MCP tools with zero source code changes - only the OpenAPI spec (scripts/notion-openapi.json) was modified.

Test 6: Embed uploaded image in page (image block with file_upload)

Test 7: Embed uploaded text file in page (file block with file_upload)

attachment:ca4f070f-9323-46b4-9e5d-81d47003029a:notion-upload-test.txt