Upload

Initiate the upload flow

The body of this request contains a callback url to the client, which is used later in the flow to communicate from the CDE server back to the client via query parameters. After a document upload has been prepared, the CDE will issue a redirect to the provided callback url with a query parameter called upload_documents_url. By calling this url, the client can continue with the upload flow, it corresponds to the server specific location of /server-provided-path-upload-documents-url.

post/upload-documents

Request body

server_contextstring nullable

A CDE controlled identifier recording the user's context on the CDE. For example which project and folder the user was on. If the client provides the server_context in subsequent calls then the CDE will attemp to load the UI at the same place.

Response

upload_ui_urlstring required

A CDE UI URL for the client to open in a local browser. The user would enter document metadata directly in the CDE

expires_ininteger required

upload_ui_url expiry in seconds

max_size_in_bytesinteger required

The maximum file size supported by the CDE. Attempts to upload a larger file will fail

Changes