Blog

Find out about the latest from Cloudmersive.

New EditDocument API Added to Convert API Library
10/7/2024 - Brian O'Neill


We're pleased to announce the addition of a brand-new API to the Cloudmersive Convert API Library. This addition comes with the release of Convert API v6-6-2.

holding pen working on files on computer

Introducing the Begin Editing Chunked API

The Begin Editing Chunked API is designed to enable loading large files as temporary editing URLs in environments where file sizes are capped or restricted. Large files loaded into memory with the Begin Editing Chunked API are broken into smaller pieces (i.e., “chunks”) to facilitate downstream EditDocument API operations.

What is the Begin Editing API?

The standard Begin Editing API uploads documents to Cloudmersive and returns their contents as secure temporary URLs. These URLs facilitate high-speed file editing operations in subsequent EditDocument API calls. They're stored in-memory for security purposes, and they’re deleted from the cache after 30 minutes.

How is the Begin Editing API used?

Once document contents are loaded as a temporary URL, that URL can be passed to other EditDocument APIs in the Convert API library for high-speed document processing workflows.

For example, after loading a multi-page Word (DOCX) document with the Begin Editing API, you could pass the URL to the Delete Pages API using the InputFileUrl parameter instead of the InputFileBytes parameter. This would allow you to remove sections of the document in-memory. The Delete Pages API would return a modified version of the temporary editing URL which could be processed through additional EditDocument APIs in a multi-step file processing workflow. Once the chain of URL edits was finished, the process could be completed by calling the Finish Editing API, which downloads the modified document file bytes from the temporary editing URL and returns them as a string.

The Begin Editing Chunked API ensures file request size restrictions do not hinder this process.

Navigating large file request size constraints with Cloudmersive

Cloudmersive is proud to offer various APIs and flexible endpoint deployment solutions for working around file request size constraints in diverse customer environments.

If you have any questions about file request size constraints in your environment, please do not hesitate to contact a member of our team.

800 free API calls/month, with no expiration

Get started now! or Sign in with Google

Questions? We'll be your guide.

Contact Sales