CABLE-LSM / meorg_client

API Client for ModelEvaluation.org.
Apache License 2.0
0 stars 1 forks source link

Assign uploaded file to model outputs. #9

Closed bschroeter closed 2 months ago

bschroeter commented 9 months ago

See #8

bschroeter commented 4 months ago

My understanding of how this works is that in order to upload a file and attach it to a model output you need to do the following.

  1. Upload a file, get the uploaded ID
  2. Get the model output object, get the ID
  3. Get a list of files attached to that ID
  4. Add the new file to this list.

This will become more apparent as we start digging into the API - it would be good to have a single call for the user to upload a file that performs all of these operations in the background.

bschroeter commented 2 months ago

This appears to have been completed in #8, closing.