Using Object Bodies
A KiiObject can hold a JSON document and an object body. The object body feature allows you to attach large data such as a file to a KiiObject.
You can perform the following tasks:
You can upload and download an object body on the client.
You can use either of the following methods for the object body transfer:
Transfer-at-once is a simple transfer method that uploads or downloads an entire file in one request.
All the Kii client platforms support this method.
With the resumable transfer, you can resume a transfer at the point of interruption caused by a network outage or a user operation. This method is appropriate when you need to transfer large files or users are in locations with low network quality.
The Kii Cloud SDKs for Android and iOS support this feature. The Kii Cloud SDK for iOS additionally supports the Background Transfer feature of iOS.
You can publish and an object body so that end users can access it with a web browser.
When you call the API to publish an object body, Kii Cloud issues a URL. End users enter the URL in a web browser and view or download the object body according to the content type set to the object body.