Content Upload API

Methods

Overview

Uploading user-generated content to the Content Portal is done within an upload session. The client starts an upload session by submitting the relevant info to the API. Then they upload files to the file store (AWS S3) before telling the API the upload is finalized. The server will asynchronously process and complete the content submission. While that happens, the client can poll for updates until the upload reaches a terminal state.

This makes the upload operation completely atomic: "half finished" uploads should no longer be possible.

Figure 1: Content Upload Workflow