Skip to main content

Bring Your Own Storage

Connect document storage to Cloud Office so Thinkfree-managed editors can open and save documents in storage you control. Manage storage connections in the Developer Console.

Use this workflow for durable documents. To edit one short-lived file without a connection, use Upload & Edit.

ConnectionAvailableUse it when
S3 and S3-compatible Object StorageYesDocuments are in Amazon S3, Cloudflare R2, MinIO, or another compatible service
WebDAVYesA WebDAV endpoint provides the document tree

Cloud Drive included with your account​

Every Developers account includes 10 GB of Cloud Drive storage, on both Free and paid Plans. Signup starts storage preparation automatically. In the Console, open Storage → My Storage → Cloud Drive → Browse when the connection is ready. No external storage setup is required.

The file browser lets you upload files up to 100 MB each, download, rename, move, permanently delete, and create folders. Permanent deletion cannot be undone. Cloud Drive does not count toward your external storage limit.

The Thinkfree Office storage list includes a ready Cloud Drive with type set to CLOUD_DRIVE, with the API name My Drive and a permanent storageId. Use that ID and a file's returned path in the same document-open request used for external storage. Opening a Thinkfree Office Viewer or Editor uses Credits; browsing files does not.

To explore Thinkfree Drive APIs and its interface, open the Management SDK Playground and connect with your Developers API Key. Requests go through the Developers API proxy. Some tenant administration operations remain restricted because Thinkfree manages this storage. For an installation on your own infrastructure, see Document Management SDK.

Document size limit​

Cloud Office opens documents in connected storage up to 300 MB (314,572,800 bytes, 300 MiB). This limit applies to Word, Cell, and Show. A file within the limit can still fail to open if its format or content cannot be processed. Upload & Edit has a separate 100 MB limit (104,857,600 bytes, 100 MiB).

Name and Storage ID​

Open Storages → Add storage in the Console. Enter a name of 1–100 characters and a description of 1–200 characters. Names can include Korean characters, spaces, uppercase letters, and punctuation. You can change the name and description later.

The server assigns a permanent UUID, storageId, when you register a storage. Use this ID in API requests. Storages may have the same name; their IDs distinguish them. Renaming a storage does not affect existing API requests. Registration creates connection settings for an existing storage, not a bucket or an external storage service.

Register S3 or S3-compatible storage​

Choose S3 & S3-compatible, then select Amazon S3 or S3-compatible Object Storage in the form. Enter the signing region, bucket, scoped access key, scoped secret key, and an optional folder prefix. S3-compatible storage also requires an HTTPS endpoint and the path-style setting required by the provider. Cloudflare R2 uses auto as its signing region.

The Thinkfree Office service must be able to list the configured root and read and write documents there. Restrict the credential to the required bucket and prefix.

Register WebDAV​

Choose WebDAV, then provide the HTTPS WebDAV endpoint, an optional root path, and a username and password together when authentication is required. Leave both username and password empty only when the endpoint intentionally permits unauthenticated access.

Protect credentials

Use narrowly scoped credentials. Do not place credentials in source code, screenshots, logs, or support messages. Connection lists never return credentials. The authenticated account can load saved settings into the masked Edit form; close the form after use and do not expose the account session to another person.

Browser​

Select Browse documents on an active storage connection to navigate its folders. For a DOC, DOCX, ODT, XLS, XLSX, ODS, PPT, PPTX, or ODP file, select View to open a read-only Viewer or Edit to open an Editor in a new tab. A successful Viewer open uses 5 Credits; a successful Editor open uses 10 Credits. Creating the URL does not use Credits.

Select the file's </> button to view and copy an API request example for that document. Run the request from your backend with your API Key; never put the key in browser code.

The Console browser intentionally provides listing and document opening only. It does not upload, download, rename, or delete storage items. Use the storage provider's own tools for file management.

Manage a connection​

The Storage ID and type cannot be changed. You can update the name and description. Saved provider settings can also be reviewed and replaced. Secret fields remain masked until you select Show. If setup fails, review the values and use Edit to test and save them again. Removing a connection removes its Thinkfree Office connection, but does not delete documents from the storage provider.

Each Free account can register up to 3 storage connections. Every Pro tier allows up to 10. Accounts with an active Enterprise contract can register up to 5 connections. Upload & Edit does not use a storage connection slot. A scheduled Pro downgrade takes effect at the next renewal. If you turn off automatic renewal, your Pro subscription ends at the end of the current subscription period.

If your account's connection limit decreases, the newest excess connections are disabled first. A restricted connection remains visible and can be removed, but it cannot browse or open documents and its Edit form cannot save. The connection becomes usable again when your account has room within its connection limit.

After activation, your backend sends clientType: "BROWSER", storageId, documentPath, and one mode (VIEWER or EDITOR) to create a client session. documentPath identifies the source file relative to the configured storage root. The optional fileDisplayName sets the name shown in Thinkfree Office; its extension selects the document app without renaming the source file.

The response contains one browser.openUrl for the selected mode and a separate api group for backend calls. Use api.statusUrl to read status. After opening, use api.downloadUrl to receive the file or the EDITOR-only api.saveUrl to save it before closing. When the user saves inside Thinkfree Office, Thinkfree Office writes the changes to the connected storage.

Reopen or co-edit the same document​

Open browser.openUrl within 5 minutes of issuance. In EDITOR mode, the user can edit for up to 12 hours from document opening. After 12 hours, the user can no longer edit in that session.

Keep a document record in your application that maps its docId to the storage connection and source path. Reuse that docId when opening the same document again, and use a different docId for a different document. Each participant uses their own stable userId; the same user keeps that ID across sessions. The returned clientSessionId changes with each successful creation request.

Neither the storage path nor the display filename automatically preserves these caller IDs. See user, document, and session IDs for optional-field defaults, collaborator examples, and separate document copies.

Continue with the Cloud Office API guide for a request example, or the API reference for all fields and errors.

Browse files with an API Key​

List your storages with GET /api/office/v1/storages, then list a folder with GET /api/office/v1/storages/{storageId}/files?path=contracts. Both requests use Authorization: Bearer {API_KEY}; Console login is not required. Omit path to list the root. Select an entry with directory: false and officeDocument: true, then pass its path as documentPath when creating a session. Listing does not use Credits or open a document.

In Cloud Office Playground, enter your API Key and select Open from Storage. Choose a storage, open folders, and choose Viewer or Editor beside a supported document. This selection prepares the request without sending it. Review the request or copy it as cURL, then select Create session. Review the response, then select where to open the document and press Open document. Keep API Keys on your server in your own application; enter a key in the trusted Playground only for testing.

See file-list request, response, limits and errors.