Uploading chemistry model files
Chemistry model files need to be uploaded to the OLI cloud so that they can be referenced in the calculation input parameters.
[1] Upload directly via the API
upload dbs file
POST
https://api.olisystems.com/channel/upload/dbs
uploads the dbs file to the OLI cloud as multipart/form-data
Headers
Authorization
string
Bearer {access_token}
Response description
field
type
description
file
array of object
information of files uploaded:
file[ ].filename
string
name of file with extension
file[ ].id
string
unique identifier for the uploaded file
status
string
"UPLOADED" or "FAILED"
type
string
type of file
[2] Uploading chemistry model files via the web UI
Login to OLI Application Builder(https://appbuilder.olisystems.com) with username and password
Select the username_private channel from the left pane
Go to the files tab in the center pane
Upload the dbs file using the "upload" button
Refresh the page if required.
Once uploaded, click on the file button on this pane
On the right hand pane you can obtain the file id, this is used in API(s), it should look something like this: aae24777-fa3f-44a2-8f51-e56bc58f3811
Last updated