Skip to content

Implements direct server-side file upload#60

Merged
jSylvestre merged 1 commit intoJCS/ApiKey20260303from
JCS/DirectUploadEndpoint
Mar 4, 2026
Merged

Implements direct server-side file upload#60
jSylvestre merged 1 commit intoJCS/ApiKey20260303from
JCS/DirectUploadEndpoint

Conversation

@jSylvestre
Copy link
Member

Adds a new /Upload/DirectUpload endpoint to simplify API-key based file uploads. Clients can now POST PDF files directly via multipart/form-data. The server handles streaming the file to Azure Blob Storage, abstracting away the need for clients to manage SAS URLs. Introduces IIncomingBlobUploadService to encapsulate the blob storage upload logic, alongside validation, database record creation, and error handling for robust uploads.

Adds a new `/Upload/DirectUpload` endpoint to simplify API-key based file uploads.
Clients can now POST PDF files directly via `multipart/form-data`. The server handles streaming the file to Azure Blob Storage, abstracting away the need for clients to manage SAS URLs.
Introduces `IIncomingBlobUploadService` to encapsulate the blob storage upload logic, alongside validation, database record creation, and error handling for robust uploads.
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 3, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch JCS/DirectUploadEndpoint

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@jSylvestre jSylvestre merged commit 5ecca18 into JCS/ApiKey20260303 Mar 4, 2026
2 checks passed
@jSylvestre jSylvestre deleted the JCS/DirectUploadEndpoint branch March 4, 2026 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant